@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGuardrailVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGuardrailVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGuardrailVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than once.
|
String |
getDescription()
A description of the guardrail version.
|
String |
getGuardrailIdentifier()
The unique identifier of the guardrail.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than once.
|
void |
setDescription(String description)
A description of the guardrail version.
|
void |
setGuardrailIdentifier(String guardrailIdentifier)
The unique identifier of the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
CreateGuardrailVersionRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than once.
|
CreateGuardrailVersionRequest |
withDescription(String description)
A description of the guardrail version.
|
CreateGuardrailVersionRequest |
withGuardrailIdentifier(String guardrailIdentifier)
The unique identifier of the guardrail.
|
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 setGuardrailIdentifier(String guardrailIdentifier)
The unique identifier of the guardrail. This can be an ID or the ARN.
guardrailIdentifier
- The unique identifier of the guardrail. This can be an ID or the ARN.public String getGuardrailIdentifier()
The unique identifier of the guardrail. This can be an ID or the ARN.
public CreateGuardrailVersionRequest withGuardrailIdentifier(String guardrailIdentifier)
The unique identifier of the guardrail. This can be an ID or the ARN.
guardrailIdentifier
- The unique identifier of the guardrail. This can be an ID or the ARN.public void setDescription(String description)
A description of the guardrail version.
description
- A description of the guardrail version.public String getDescription()
A description of the guardrail version.
public CreateGuardrailVersionRequest withDescription(String description)
A description of the guardrail version.
description
- A description of the guardrail version.public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.
clientRequestToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this
token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For
more information, see Ensuring
idempotency in the Amazon S3 User Guide.public String getClientRequestToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.
public CreateGuardrailVersionRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.
clientRequestToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this
token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For
more information, see Ensuring
idempotency in the Amazon S3 User Guide.public String toString()
toString
in class Object
Object.toString()
public CreateGuardrailVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()