@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIntentVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateIntentVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIntentVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChecksum()
Checksum of the
$LATEST version of the intent that should be used to create the new version. |
String |
getName()
The name of the intent that you want to create a new version of.
|
int |
hashCode() |
void |
setChecksum(String checksum)
Checksum of the
$LATEST version of the intent that should be used to create the new version. |
void |
setName(String name)
The name of the intent that you want to create a new version of.
|
String |
toString()
Returns a string representation of this object.
|
CreateIntentVersionRequest |
withChecksum(String checksum)
Checksum of the
$LATEST version of the intent that should be used to create the new version. |
CreateIntentVersionRequest |
withName(String name)
The name of the intent that you want to create a new version of.
|
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 setName(String name)
The name of the intent that you want to create a new version of. The name is case sensitive.
name
- The name of the intent that you want to create a new version of. The name is case sensitive.public String getName()
The name of the intent that you want to create a new version of. The name is case sensitive.
public CreateIntentVersionRequest withName(String name)
The name of the intent that you want to create a new version of. The name is case sensitive.
name
- The name of the intent that you want to create a new version of. The name is case sensitive.public void setChecksum(String checksum)
Checksum of the $LATEST
version of the intent that should be used to create the new version. If you
specify a checksum and the $LATEST
version of the intent has a different checksum, Amazon Lex
returns a PreconditionFailedException
exception and doesn't publish a new version. If you don't
specify a checksum, Amazon Lex publishes the $LATEST
version.
checksum
- Checksum of the $LATEST
version of the intent that should be used to create the new version.
If you specify a checksum and the $LATEST
version of the intent has a different checksum,
Amazon Lex returns a PreconditionFailedException
exception and doesn't publish a new version.
If you don't specify a checksum, Amazon Lex publishes the $LATEST
version.public String getChecksum()
Checksum of the $LATEST
version of the intent that should be used to create the new version. If you
specify a checksum and the $LATEST
version of the intent has a different checksum, Amazon Lex
returns a PreconditionFailedException
exception and doesn't publish a new version. If you don't
specify a checksum, Amazon Lex publishes the $LATEST
version.
$LATEST
version of the intent that should be used to create the new version.
If you specify a checksum and the $LATEST
version of the intent has a different checksum,
Amazon Lex returns a PreconditionFailedException
exception and doesn't publish a new
version. If you don't specify a checksum, Amazon Lex publishes the $LATEST
version.public CreateIntentVersionRequest withChecksum(String checksum)
Checksum of the $LATEST
version of the intent that should be used to create the new version. If you
specify a checksum and the $LATEST
version of the intent has a different checksum, Amazon Lex
returns a PreconditionFailedException
exception and doesn't publish a new version. If you don't
specify a checksum, Amazon Lex publishes the $LATEST
version.
checksum
- Checksum of the $LATEST
version of the intent that should be used to create the new version.
If you specify a checksum and the $LATEST
version of the intent has a different checksum,
Amazon Lex returns a PreconditionFailedException
exception and doesn't publish a new version.
If you don't specify a checksum, Amazon Lex publishes the $LATEST
version.public String toString()
toString
in class Object
Object.toString()
public CreateIntentVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()