Class DescribeStateMachineResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sfn.model.SfnResponse
-
- software.amazon.awssdk.services.sfn.model.DescribeStateMachineResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeStateMachineResponse extends SfnResponse implements ToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeStateMachineResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeStateMachineResponse.Builderbuilder()InstantcreationDate()The date the state machine is created.Stringdefinition()The Amazon States Language definition of the state machine.Stringdescription()The description of the state machine version.EncryptionConfigurationencryptionConfiguration()Settings to configure server-side encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlabel()A user-defined or an auto-generated string that identifies aMapstate.LoggingConfigurationloggingConfiguration()Returns the value of the LoggingConfiguration property for this object.Stringname()The name of the state machine.StringrevisionId()The revision identifier for the state machine.StringroleArn()The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.List<SdkField<?>>sdkFields()static Class<? extends DescribeStateMachineResponse.Builder>serializableBuilderClass()StringstateMachineArn()The Amazon Resource Name (ARN) that identifies the state machine.StateMachineStatusstatus()The current status of the state machine.StringstatusAsString()The current status of the state machine.DescribeStateMachineResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.TracingConfigurationtracingConfiguration()Selects whether X-Ray tracing is enabled.StateMachineTypetype()Thetypeof the state machine (STANDARDorEXPRESS).StringtypeAsString()Thetypeof the state machine (STANDARDorEXPRESS).-
Methods inherited from class software.amazon.awssdk.services.sfn.model.SfnResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
stateMachineArn
public final String stateMachineArn()
The Amazon Resource Name (ARN) that identifies the state machine.
If you specified a state machine version ARN in your request, the API returns the version ARN. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1.- Returns:
- The Amazon Resource Name (ARN) that identifies the state machine.
If you specified a state machine version ARN in your request, the API returns the version ARN. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1.
-
name
public final 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 _.
- Returns:
- 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 _.
-
-
-
status
public final StateMachineStatus status()
The current status of the state machine.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStateMachineStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the state machine.
- See Also:
StateMachineStatus
-
statusAsString
public final String statusAsString()
The current status of the state machine.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStateMachineStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the state machine.
- See Also:
StateMachineStatus
-
definition
public final String definition()
The Amazon States Language definition of the state machine. See Amazon States Language.
If called with
includedData = METADATA_ONLY, the returned definition will be{}.- Returns:
- The Amazon States Language definition of the state machine. See Amazon
States Language.
If called with
includedData = METADATA_ONLY, the returned definition will be{}.
-
roleArn
public final 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 Amazon Web Services resources.)
- Returns:
- 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 Amazon Web Services resources.)
-
type
public final StateMachineType type()
The
typeof the state machine (STANDARDorEXPRESS).If the service returns an enum value that is not available in the current SDK version,
typewill returnStateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The
typeof the state machine (STANDARDorEXPRESS). - See Also:
StateMachineType
-
typeAsString
public final String typeAsString()
The
typeof the state machine (STANDARDorEXPRESS).If the service returns an enum value that is not available in the current SDK version,
typewill returnStateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The
typeof the state machine (STANDARDorEXPRESS). - See Also:
StateMachineType
-
creationDate
public final Instant creationDate()
The date the state machine is created.
For a state machine version,
creationDateis the date the version was created.- Returns:
- The date the state machine is created.
For a state machine version,
creationDateis the date the version was created.
-
loggingConfiguration
public final LoggingConfiguration loggingConfiguration()
Returns the value of the LoggingConfiguration property for this object.- Returns:
- The value of the LoggingConfiguration property for this object.
-
tracingConfiguration
public final TracingConfiguration tracingConfiguration()
Selects whether X-Ray tracing is enabled.
- Returns:
- Selects whether X-Ray tracing is enabled.
-
label
public final String label()
A user-defined or an auto-generated string that identifies a
Mapstate. This parameter is present only if thestateMachineArnspecified in input is a qualified state machine ARN.- Returns:
- A user-defined or an auto-generated string that identifies a
Mapstate. This parameter is present only if thestateMachineArnspecified in input is a qualified state machine ARN.
-
revisionId
public final String revisionId()
The revision identifier for the state machine.
Use the
revisionIdparameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such asdefinitionandroleArn.- Returns:
- The revision identifier for the state machine.
Use the
revisionIdparameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such asdefinitionandroleArn.
-
description
public final String description()
The description of the state machine version.
- Returns:
- The description of the state machine version.
-
encryptionConfiguration
public final EncryptionConfiguration encryptionConfiguration()
Settings to configure server-side encryption.
- Returns:
- Settings to configure server-side encryption.
-
toBuilder
public DescribeStateMachineResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeStateMachineResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeStateMachineResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-