@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutOriginEndpointPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutOriginEndpointPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutOriginEndpointPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelGroupName()
The name that describes the channel group.
|
String |
getChannelName()
The name that describes the channel.
|
String |
getOriginEndpointName()
The name that describes the origin endpoint.
|
String |
getPolicy()
The policy to attach to the specified origin endpoint.
|
int |
hashCode() |
void |
setChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
void |
setChannelName(String channelName)
The name that describes the channel.
|
void |
setOriginEndpointName(String originEndpointName)
The name that describes the origin endpoint.
|
void |
setPolicy(String policy)
The policy to attach to the specified origin endpoint.
|
String |
toString()
Returns a string representation of this object.
|
PutOriginEndpointPolicyRequest |
withChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
PutOriginEndpointPolicyRequest |
withChannelName(String channelName)
The name that describes the channel.
|
PutOriginEndpointPolicyRequest |
withOriginEndpointName(String originEndpointName)
The name that describes the origin endpoint.
|
PutOriginEndpointPolicyRequest |
withPolicy(String policy)
The policy to attach to the specified origin endpoint.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public String getChannelGroupName()
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
public PutOriginEndpointPolicyRequest withChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public void setChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public String getChannelName()
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
public PutOriginEndpointPolicyRequest withChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public void setOriginEndpointName(String originEndpointName)
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
originEndpointName
- The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint,
and and must be unique for your account in the AWS Region and channel.public String getOriginEndpointName()
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
public PutOriginEndpointPolicyRequest withOriginEndpointName(String originEndpointName)
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
originEndpointName
- The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint,
and and must be unique for your account in the AWS Region and channel.public void setPolicy(String policy)
The policy to attach to the specified origin endpoint.
policy
- The policy to attach to the specified origin endpoint.public String getPolicy()
The policy to attach to the specified origin endpoint.
public PutOriginEndpointPolicyRequest withPolicy(String policy)
The policy to attach to the specified origin endpoint.
policy
- The policy to attach to the specified origin endpoint.public String toString()
toString
in class Object
Object.toString()
public PutOriginEndpointPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()