Class CreateCloudFrontOriginAccessIdentityResult

java.lang.Object
com.amazonaws.services.cloudfront.model.CreateCloudFrontOriginAccessIdentityResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateCloudFrontOriginAccessIdentityResult extends Object implements Serializable, Cloneable
The returned result of the corresponding request.
See Also:
  • Constructor Details

    • CreateCloudFrontOriginAccessIdentityResult

      public CreateCloudFrontOriginAccessIdentityResult()
  • Method Details

    • setCloudFrontOriginAccessIdentity

      public void setCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)
      The origin access identity's information.
      Parameters:
      cloudFrontOriginAccessIdentity - The origin access identity's information.
    • getCloudFrontOriginAccessIdentity

      public CloudFrontOriginAccessIdentity getCloudFrontOriginAccessIdentity()
      The origin access identity's information.
      Returns:
      The origin access identity's information.
    • withCloudFrontOriginAccessIdentity

      public CreateCloudFrontOriginAccessIdentityResult withCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)
      The origin access identity's information.
      Parameters:
      cloudFrontOriginAccessIdentity - The origin access identity's information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLocation

      public void setLocation(String location)
      The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity /cloudfront/E74FTE3AJFJ256A.
      Parameters:
      location - The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin -access-identity/cloudfront/E74FTE3AJFJ256A.
    • getLocation

      public String getLocation()
      The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity /cloudfront/E74FTE3AJFJ256A.
      Returns:
      The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/ origin-access-identity/cloudfront/E74FTE3AJFJ256A.
    • withLocation

      public CreateCloudFrontOriginAccessIdentityResult withLocation(String location)
      The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity /cloudfront/E74FTE3AJFJ256A.
      Parameters:
      location - The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin -access-identity/cloudfront/E74FTE3AJFJ256A.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setETag

      public void setETag(String eTag)
      The current version of the origin access identity created.
      Parameters:
      eTag - The current version of the origin access identity created.
    • getETag

      public String getETag()
      The current version of the origin access identity created.
      Returns:
      The current version of the origin access identity created.
    • withETag

      The current version of the origin access identity created.
      Parameters:
      eTag - The current version of the origin access identity created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object