@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOriginAccessControlResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateOriginAccessControlResult() |
Modifier and Type | Method and Description |
---|---|
CreateOriginAccessControlResult |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The version identifier for the current version of the origin access control.
|
String |
getLocation()
The URL of the origin access control.
|
OriginAccessControl |
getOriginAccessControl()
Contains an origin access control.
|
int |
hashCode() |
void |
setETag(String eTag)
The version identifier for the current version of the origin access control.
|
void |
setLocation(String location)
The URL of the origin access control.
|
void |
setOriginAccessControl(OriginAccessControl originAccessControl)
Contains an origin access control.
|
String |
toString()
Returns a string representation of this object.
|
CreateOriginAccessControlResult |
withETag(String eTag)
The version identifier for the current version of the origin access control.
|
CreateOriginAccessControlResult |
withLocation(String location)
The URL of the origin access control.
|
CreateOriginAccessControlResult |
withOriginAccessControl(OriginAccessControl originAccessControl)
Contains an origin access control.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOriginAccessControl(OriginAccessControl originAccessControl)
Contains an origin access control.
originAccessControl
- Contains an origin access control.public OriginAccessControl getOriginAccessControl()
Contains an origin access control.
public CreateOriginAccessControlResult withOriginAccessControl(OriginAccessControl originAccessControl)
Contains an origin access control.
originAccessControl
- Contains an origin access control.public void setLocation(String location)
The URL of the origin access control.
location
- The URL of the origin access control.public String getLocation()
The URL of the origin access control.
public CreateOriginAccessControlResult withLocation(String location)
The URL of the origin access control.
location
- The URL of the origin access control.public void setETag(String eTag)
The version identifier for the current version of the origin access control.
eTag
- The version identifier for the current version of the origin access control.public String getETag()
The version identifier for the current version of the origin access control.
public CreateOriginAccessControlResult withETag(String eTag)
The version identifier for the current version of the origin access control.
eTag
- The version identifier for the current version of the origin access control.public String toString()
toString
in class Object
Object.toString()
public CreateOriginAccessControlResult clone()