Class DescribeStateMachineRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sfn.model.SfnRequest
-
- software.amazon.awssdk.services.sfn.model.DescribeStateMachineRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeStateMachineRequest.Builder,DescribeStateMachineRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeStateMachineRequest extends SfnRequest implements ToCopyableBuilder<DescribeStateMachineRequest.Builder,DescribeStateMachineRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeStateMachineRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeStateMachineRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IncludedDataincludedData()If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition.StringincludedDataAsString()If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition.List<SdkField<?>>sdkFields()static Class<? extends DescribeStateMachineRequest.Builder>serializableBuilderClass()StringstateMachineArn()The Amazon Resource Name (ARN) of the state machine for which you want the information.DescribeStateMachineRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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) of the state machine for which you want the information.
If you specify a state machine version ARN, this API returns details about that version. 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) of the state machine for which you want the information.
If you specify a state machine version ARN, this API returns details about that version. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1.
-
includedData
public final IncludedData includedData()
If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.When calling a labelled ARN for an encrypted state machine, the
includedData = METADATA_ONLYparameter will not apply because Step Functions needs to decrypt the entire state machine definition to get the Distributed Map state’s definition. In this case, the API caller needs to havekms:Decryptpermission.If the service returns an enum value that is not available in the current SDK version,
includedDatawill returnIncludedData.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromincludedDataAsString().- Returns:
- If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.When calling a labelled ARN for an encrypted state machine, the
includedData = METADATA_ONLYparameter will not apply because Step Functions needs to decrypt the entire state machine definition to get the Distributed Map state’s definition. In this case, the API caller needs to havekms:Decryptpermission. - See Also:
IncludedData
-
includedDataAsString
public final String includedDataAsString()
If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.When calling a labelled ARN for an encrypted state machine, the
includedData = METADATA_ONLYparameter will not apply because Step Functions needs to decrypt the entire state machine definition to get the Distributed Map state’s definition. In this case, the API caller needs to havekms:Decryptpermission.If the service returns an enum value that is not available in the current SDK version,
includedDatawill returnIncludedData.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromincludedDataAsString().- Returns:
- If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.When calling a labelled ARN for an encrypted state machine, the
includedData = METADATA_ONLYparameter will not apply because Step Functions needs to decrypt the entire state machine definition to get the Distributed Map state’s definition. In this case, the API caller needs to havekms:Decryptpermission. - See Also:
IncludedData
-
toBuilder
public DescribeStateMachineRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeStateMachineRequest.Builder,DescribeStateMachineRequest>- Specified by:
toBuilderin classSfnRequest
-
builder
public static DescribeStateMachineRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeStateMachineRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-