@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStateMachineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateStateMachineRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateStateMachineRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefinition()
The Amazon States Language definition of the state machine.
|
LoggingConfiguration |
getLoggingConfiguration()
Use the
LoggingConfiguration data type to set CloudWatch Logs options. |
Boolean |
getPublish()
Specifies whether the state machine version is published.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role of the state machine.
|
String |
getStateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
|
TracingConfiguration |
getTracingConfiguration()
Selects whether X-Ray tracing is enabled.
|
String |
getVersionDescription()
An optional description of the state machine version to publish.
|
int |
hashCode() |
Boolean |
isPublish()
Specifies whether the state machine version is published.
|
void |
setDefinition(String definition)
The Amazon States Language definition of the state machine.
|
void |
setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Use the
LoggingConfiguration data type to set CloudWatch Logs options. |
void |
setPublish(Boolean publish)
Specifies whether the state machine version is published.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role of the state machine.
|
void |
setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
|
void |
setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
|
void |
setVersionDescription(String versionDescription)
An optional description of the state machine version to publish.
|
String |
toString()
Returns a string representation of this object.
|
UpdateStateMachineRequest |
withDefinition(String definition)
The Amazon States Language definition of the state machine.
|
UpdateStateMachineRequest |
withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Use the
LoggingConfiguration data type to set CloudWatch Logs options. |
UpdateStateMachineRequest |
withPublish(Boolean publish)
Specifies whether the state machine version is published.
|
UpdateStateMachineRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role of the state machine.
|
UpdateStateMachineRequest |
withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
|
UpdateStateMachineRequest |
withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
|
UpdateStateMachineRequest |
withVersionDescription(String versionDescription)
An optional description of the state machine version to publish.
|
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 setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine.public String getStateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
public UpdateStateMachineRequest withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine.public void setDefinition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.public String getDefinition()
The Amazon States Language definition of the state machine. See Amazon States Language.
public UpdateStateMachineRequest withDefinition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role of the state machine.
roleArn
- The Amazon Resource Name (ARN) of the IAM role of the state machine.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role of the state machine.
public UpdateStateMachineRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role of the state machine.
roleArn
- The Amazon Resource Name (ARN) of the IAM role of the state machine.public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Use the LoggingConfiguration
data type to set CloudWatch Logs options.
loggingConfiguration
- Use the LoggingConfiguration
data type to set CloudWatch Logs options.public LoggingConfiguration getLoggingConfiguration()
Use the LoggingConfiguration
data type to set CloudWatch Logs options.
LoggingConfiguration
data type to set CloudWatch Logs options.public UpdateStateMachineRequest withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Use the LoggingConfiguration
data type to set CloudWatch Logs options.
loggingConfiguration
- Use the LoggingConfiguration
data type to set CloudWatch Logs options.public void setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
tracingConfiguration
- Selects whether X-Ray tracing is enabled.public TracingConfiguration getTracingConfiguration()
Selects whether X-Ray tracing is enabled.
public UpdateStateMachineRequest withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
tracingConfiguration
- Selects whether X-Ray tracing is enabled.public void setPublish(Boolean publish)
Specifies whether the state machine version is published. The default is false
. To publish a version
after updating the state machine, set publish
to true
.
publish
- Specifies whether the state machine version is published. The default is false
. To publish a
version after updating the state machine, set publish
to true
.public Boolean getPublish()
Specifies whether the state machine version is published. The default is false
. To publish a version
after updating the state machine, set publish
to true
.
false
. To publish a
version after updating the state machine, set publish
to true
.public UpdateStateMachineRequest withPublish(Boolean publish)
Specifies whether the state machine version is published. The default is false
. To publish a version
after updating the state machine, set publish
to true
.
publish
- Specifies whether the state machine version is published. The default is false
. To publish a
version after updating the state machine, set publish
to true
.public Boolean isPublish()
Specifies whether the state machine version is published. The default is false
. To publish a version
after updating the state machine, set publish
to true
.
false
. To publish a
version after updating the state machine, set publish
to true
.public void setVersionDescription(String versionDescription)
An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
versionDescription
- An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
public String getVersionDescription()
An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
public UpdateStateMachineRequest withVersionDescription(String versionDescription)
An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
versionDescription
- An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set publish
to
true
.
public String toString()
toString
in class Object
Object.toString()
public UpdateStateMachineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()