Class DescribeStateMachineResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe date the state machine is created.final StringThe Amazon States Language definition of the state machine.final StringThe description of the state machine version.final EncryptionConfigurationSettings to configure server-side encryption.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the VariableReferences property.final Stringlabel()A user-defined or an auto-generated string that identifies aMapstate.final LoggingConfigurationReturns the value of the LoggingConfiguration property for this object.final Stringname()The name of the state machine.final StringThe revision identifier for the state machine.final StringroleArn()The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.static Class<? extends DescribeStateMachineResponse.Builder>final StringThe Amazon Resource Name (ARN) that identifies the state machine.final StateMachineStatusstatus()The current status of the state machine.final StringThe current status of the state machine.final StringtoString()Returns a string representation of this object.final TracingConfigurationSelects whether X-Ray tracing is enabled.final StateMachineTypetype()Thetypeof the state machine (STANDARDorEXPRESS).final StringThetypeof the state machine (STANDARDorEXPRESS).A map of state name to a list of variables referenced by that state.Methods inherited from class software.amazon.awssdk.services.sfn.model.SfnResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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,U+FFFE-FFFF) -
surrogates (
U+D800-DFFF) -
invalid characters (
U+10FFFF)
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,U+FFFE-FFFF) -
surrogates (
U+D800-DFFF) -
invalid characters (
U+10FFFF)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
-
-
-
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:
-
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:
-
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
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
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:
-
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:
-
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
Returns the value of the LoggingConfiguration property for this object.- Returns:
- The value of the LoggingConfiguration property for this object.
-
tracingConfiguration
Selects whether X-Ray tracing is enabled.
- Returns:
- Selects whether X-Ray tracing is enabled.
-
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
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
The description of the state machine version.
- Returns:
- The description of the state machine version.
-
encryptionConfiguration
Settings to configure server-side encryption.
- Returns:
- Settings to configure server-side encryption.
-
hasVariableReferences
public final boolean hasVariableReferences()For responses, this returns true if the service returned a value for the VariableReferences property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
variableReferences
A map of state name to a list of variables referenced by that state. States that do not use variable references will not be shown in the response.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasVariableReferences()method.- Returns:
- A map of state name to a list of variables referenced by that state. States that do not use variable references will not be shown in the response.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-