@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginAccessControl extends Object implements Serializable, Cloneable
A CloudFront origin access control, including its unique identifier.
Constructor and Description |
---|
OriginAccessControl() |
Modifier and Type | Method and Description |
---|---|
OriginAccessControl |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier of the origin access control.
|
OriginAccessControlConfig |
getOriginAccessControlConfig()
The origin access control.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier of the origin access control.
|
void |
setOriginAccessControlConfig(OriginAccessControlConfig originAccessControlConfig)
The origin access control.
|
String |
toString()
Returns a string representation of this object.
|
OriginAccessControl |
withId(String id)
The unique identifier of the origin access control.
|
OriginAccessControl |
withOriginAccessControlConfig(OriginAccessControlConfig originAccessControlConfig)
The origin access control.
|
public void setId(String id)
The unique identifier of the origin access control.
id
- The unique identifier of the origin access control.public String getId()
The unique identifier of the origin access control.
public OriginAccessControl withId(String id)
The unique identifier of the origin access control.
id
- The unique identifier of the origin access control.public void setOriginAccessControlConfig(OriginAccessControlConfig originAccessControlConfig)
The origin access control.
originAccessControlConfig
- The origin access control.public OriginAccessControlConfig getOriginAccessControlConfig()
The origin access control.
public OriginAccessControl withOriginAccessControlConfig(OriginAccessControlConfig originAccessControlConfig)
The origin access control.
originAccessControlConfig
- The origin access control.public String toString()
toString
in class Object
Object.toString()
public OriginAccessControl clone()