@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStateMachineResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeStateMachineResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStateMachineResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date the state machine is created.
|
String |
getDefinition()
The Amazon States Language definition of the state machine.
|
LoggingConfiguration |
getLoggingConfiguration() |
String |
getName()
The name of the state machine.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.
|
String |
getStateMachineArn()
The Amazon Resource Name (ARN) that identifies the state machine.
|
String |
getStatus()
The current status of the state machine.
|
TracingConfiguration |
getTracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
|
String |
getType()
The
type of the state machine (STANDARD or EXPRESS ). |
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The date the state machine is created.
|
void |
setDefinition(String definition)
The Amazon States Language definition of the state machine.
|
void |
setLoggingConfiguration(LoggingConfiguration loggingConfiguration) |
void |
setName(String name)
The name of the state machine.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.
|
void |
setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) that identifies the state machine.
|
void |
setStatus(StateMachineStatus status)
The current status of the state machine.
|
void |
setStatus(String status)
The current status of the state machine.
|
void |
setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
|
void |
setType(StateMachineType type)
The
type of the state machine (STANDARD or EXPRESS ). |
void |
setType(String type)
The
type of the state machine (STANDARD or EXPRESS ). |
String |
toString()
Returns a string representation of this object.
|
DescribeStateMachineResult |
withCreationDate(Date creationDate)
The date the state machine is created.
|
DescribeStateMachineResult |
withDefinition(String definition)
The Amazon States Language definition of the state machine.
|
DescribeStateMachineResult |
withLoggingConfiguration(LoggingConfiguration loggingConfiguration) |
DescribeStateMachineResult |
withName(String name)
The name of the state machine.
|
DescribeStateMachineResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.
|
DescribeStateMachineResult |
withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) that identifies the state machine.
|
DescribeStateMachineResult |
withStatus(StateMachineStatus status)
The current status of the state machine.
|
DescribeStateMachineResult |
withStatus(String status)
The current status of the state machine.
|
DescribeStateMachineResult |
withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
|
DescribeStateMachineResult |
withType(StateMachineType type)
The
type of the state machine (STANDARD or EXPRESS ). |
DescribeStateMachineResult |
withType(String type)
The
type of the state machine (STANDARD or EXPRESS ). |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) that identifies the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) that identifies the state machine.public String getStateMachineArn()
The Amazon Resource Name (ARN) that identifies the state machine.
public DescribeStateMachineResult withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) that identifies the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) that identifies the state machine.public void setName(String name)
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
name
- The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
public String getName()
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
public DescribeStateMachineResult withName(String name)
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
name
- The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
public void setStatus(String status)
The current status of the state machine.
status
- The current status of the state machine.StateMachineStatus
public String getStatus()
The current status of the state machine.
StateMachineStatus
public DescribeStateMachineResult withStatus(String status)
The current status of the state machine.
status
- The current status of the state machine.StateMachineStatus
public void setStatus(StateMachineStatus status)
The current status of the state machine.
status
- The current status of the state machine.StateMachineStatus
public DescribeStateMachineResult withStatus(StateMachineStatus status)
The current status of the state machine.
status
- The current status of the state machine.StateMachineStatus
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 DescribeStateMachineResult 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 used when creating this state machine. (The IAM role maintains security by granting Step Functions access to AWS resources.)
roleArn
- The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role
maintains security by granting Step Functions access to AWS resources.)public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to AWS resources.)
public DescribeStateMachineResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to AWS resources.)
roleArn
- The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role
maintains security by granting Step Functions access to AWS resources.)public void setType(String type)
The type
of the state machine (STANDARD
or EXPRESS
).
type
- The type
of the state machine (STANDARD
or EXPRESS
).StateMachineType
public String getType()
The type
of the state machine (STANDARD
or EXPRESS
).
type
of the state machine (STANDARD
or EXPRESS
).StateMachineType
public DescribeStateMachineResult withType(String type)
The type
of the state machine (STANDARD
or EXPRESS
).
type
- The type
of the state machine (STANDARD
or EXPRESS
).StateMachineType
public void setType(StateMachineType type)
The type
of the state machine (STANDARD
or EXPRESS
).
type
- The type
of the state machine (STANDARD
or EXPRESS
).StateMachineType
public DescribeStateMachineResult withType(StateMachineType type)
The type
of the state machine (STANDARD
or EXPRESS
).
type
- The type
of the state machine (STANDARD
or EXPRESS
).StateMachineType
public void setCreationDate(Date creationDate)
The date the state machine is created.
creationDate
- The date the state machine is created.public Date getCreationDate()
The date the state machine is created.
public DescribeStateMachineResult withCreationDate(Date creationDate)
The date the state machine is created.
creationDate
- The date the state machine is created.public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
loggingConfiguration
- public LoggingConfiguration getLoggingConfiguration()
public DescribeStateMachineResult withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
loggingConfiguration
- public void setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
tracingConfiguration
- Selects whether AWS X-Ray tracing is enabled.public TracingConfiguration getTracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
public DescribeStateMachineResult withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
tracingConfiguration
- Selects whether AWS X-Ray tracing is enabled.public String toString()
toString
in class Object
Object.toString()
public DescribeStateMachineResult clone()