@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcEndpointServicePayerResponsibilityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointServicePayerResponsibilityRequest>
NOOP| Constructor and Description |
|---|
ModifyVpcEndpointServicePayerResponsibilityRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyVpcEndpointServicePayerResponsibilityRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyVpcEndpointServicePayerResponsibilityRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPayerResponsibility()
The entity that is responsible for the endpoint costs.
|
String |
getServiceId()
The ID of the service.
|
int |
hashCode() |
void |
setPayerResponsibility(String payerResponsibility)
The entity that is responsible for the endpoint costs.
|
void |
setServiceId(String serviceId)
The ID of the service.
|
String |
toString()
Returns a string representation of this object.
|
ModifyVpcEndpointServicePayerResponsibilityRequest |
withPayerResponsibility(PayerResponsibility payerResponsibility)
The entity that is responsible for the endpoint costs.
|
ModifyVpcEndpointServicePayerResponsibilityRequest |
withPayerResponsibility(String payerResponsibility)
The entity that is responsible for the endpoint costs.
|
ModifyVpcEndpointServicePayerResponsibilityRequest |
withServiceId(String serviceId)
The ID of the service.
|
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, withSdkRequestTimeoutpublic ModifyVpcEndpointServicePayerResponsibilityRequest()
public void setServiceId(String serviceId)
The ID of the service.
serviceId - The ID of the service.public String getServiceId()
The ID of the service.
public ModifyVpcEndpointServicePayerResponsibilityRequest withServiceId(String serviceId)
The ID of the service.
serviceId - The ID of the service.public void setPayerResponsibility(String payerResponsibility)
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
payerResponsibility - The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the
payer responsibility to the service owner, you cannot set it back to the endpoint owner.PayerResponsibilitypublic String getPayerResponsibility()
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
PayerResponsibilitypublic ModifyVpcEndpointServicePayerResponsibilityRequest withPayerResponsibility(String payerResponsibility)
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
payerResponsibility - The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the
payer responsibility to the service owner, you cannot set it back to the endpoint owner.PayerResponsibilitypublic ModifyVpcEndpointServicePayerResponsibilityRequest withPayerResponsibility(PayerResponsibility payerResponsibility)
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
payerResponsibility - The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the
payer responsibility to the service owner, you cannot set it back to the endpoint owner.PayerResponsibilitypublic Request<ModifyVpcEndpointServicePayerResponsibilityRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyVpcEndpointServicePayerResponsibilityRequest>public String toString()
toString in class ObjectObject.toString()public ModifyVpcEndpointServicePayerResponsibilityRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()