@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptEulasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A collection of EULA acceptances.
NOOP
Constructor and Description |
---|
AcceptEulasRequest() |
Modifier and Type | Method and Description |
---|---|
AcceptEulasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
To make an idempotent API request using one of these actions, specify a client token in the request.
|
List<String> |
getEulaIds()
The EULA ID.
|
String |
getStudioId()
The studio ID.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
void |
setEulaIds(Collection<String> eulaIds)
The EULA ID.
|
void |
setStudioId(String studioId)
The studio ID.
|
String |
toString()
Returns a string representation of this object.
|
AcceptEulasRequest |
withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
AcceptEulasRequest |
withEulaIds(Collection<String> eulaIds)
The EULA ID.
|
AcceptEulasRequest |
withEulaIds(String... eulaIds)
The EULA ID.
|
AcceptEulasRequest |
withStudioId(String studioId)
The studio ID.
|
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 setClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
clientToken
- To make an idempotent API request using one of these actions, specify a client token in the request. You
should not reuse the same client token for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the retry succeeds without performing
any further actions. If you retry a successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException error.public String getClientToken()
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
public AcceptEulasRequest withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
clientToken
- To make an idempotent API request using one of these actions, specify a client token in the request. You
should not reuse the same client token for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the retry succeeds without performing
any further actions. If you retry a successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException error.public void setEulaIds(Collection<String> eulaIds)
The EULA ID.
eulaIds
- The EULA ID.public AcceptEulasRequest withEulaIds(String... eulaIds)
The EULA ID.
NOTE: This method appends the values to the existing list (if any). Use
setEulaIds(java.util.Collection)
or withEulaIds(java.util.Collection)
if you want to override
the existing values.
eulaIds
- The EULA ID.public AcceptEulasRequest withEulaIds(Collection<String> eulaIds)
The EULA ID.
eulaIds
- The EULA ID.public void setStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public String getStudioId()
The studio ID.
public AcceptEulasRequest withStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public String toString()
toString
in class Object
Object.toString()
public AcceptEulasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()