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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateCloudFrontOriginAccessIdentityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCloudFrontOriginAccessIdentityResultclone()booleanequals(Object obj)CloudFrontOriginAccessIdentitygetCloudFrontOriginAccessIdentity()The origin access identity's information.StringgetETag()The current version of the origin access identity created.StringgetLocation()The fully qualified URI of the new origin access identity just created.inthashCode()voidsetCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)The origin access identity's information.voidsetETag(String eTag)The current version of the origin access identity created.voidsetLocation(String location)The fully qualified URI of the new origin access identity just created.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateCloudFrontOriginAccessIdentityResultwithCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)The origin access identity's information.CreateCloudFrontOriginAccessIdentityResultwithETag(String eTag)The current version of the origin access identity created.CreateCloudFrontOriginAccessIdentityResultwithLocation(String location)The fully qualified URI of the new origin access identity just created.
-
-
-
Method Detail
-
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
public CreateCloudFrontOriginAccessIdentityResult withETag(String eTag)
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateCloudFrontOriginAccessIdentityResult clone()
-
-