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 CreateCloudFrontOriginAccessIdentityResult
clone()
boolean
equals(Object obj)
CloudFrontOriginAccessIdentity
getCloudFrontOriginAccessIdentity()
The origin access identity's information.String
getETag()
The current version of the origin access identity created.String
getLocation()
The fully qualified URI of the new origin access identity just created.int
hashCode()
void
setCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)
The origin access identity's information.void
setETag(String eTag)
The current version of the origin access identity created.void
setLocation(String location)
The fully qualified URI of the new origin access identity just created.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateCloudFrontOriginAccessIdentityResult
withCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity)
The origin access identity's information.CreateCloudFrontOriginAccessIdentityResult
withETag(String eTag)
The current version of the origin access identity created.CreateCloudFrontOriginAccessIdentityResult
withLocation(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateCloudFrontOriginAccessIdentityResult clone()
-
-