@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 was created.
|
String |
getDefinition()
The Amazon States Language definition of the state machine.
|
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.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The date the state machine was created.
|
void |
setDefinition(String definition)
The Amazon States Language definition of the state machine.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeStateMachineResult |
withCreationDate(Date creationDate)
The date the state machine was created.
|
DescribeStateMachineResult |
withDefinition(String definition)
The Amazon States Language definition of the state machine.
|
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.
|
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:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the state machine.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public String getName()
The name of the state machine.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public DescribeStateMachineResult withName(String name)
The name of the state machine.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the state machine.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
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.
definition
- The Amazon States Language definition of the state machine.public String getDefinition()
The Amazon States Language definition of the state machine.
public DescribeStateMachineResult withDefinition(String definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.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 setCreationDate(Date creationDate)
The date the state machine was created.
creationDate
- The date the state machine was created.public Date getCreationDate()
The date the state machine was created.
public DescribeStateMachineResult withCreationDate(Date creationDate)
The date the state machine was created.
creationDate
- The date the state machine was created.public String toString()
toString
in class Object
Object.toString()
public DescribeStateMachineResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.