Class DescribeActivityResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DescribeActivityResponse.Builder,DescribeActivityResponse>

@Generated("software.amazon.awssdk:codegen") public final class DescribeActivityResponse extends SfnResponse implements ToCopyableBuilder<DescribeActivityResponse.Builder,DescribeActivityResponse>
  • Method Details

    • activityArn

      public final String activityArn()

      The Amazon Resource Name (ARN) that identifies the activity.

      Returns:
      The Amazon Resource Name (ARN) that identifies the activity.
    • name

      public final String name()

      The name of the activity.

      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 activity.

      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 _.

    • creationDate

      public final Instant creationDate()

      The date the activity is created.

      Returns:
      The date the activity is created.
    • encryptionConfiguration

      public final EncryptionConfiguration encryptionConfiguration()

      Settings for configured server-side encryption.

      Returns:
      Settings for configured server-side encryption.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DescribeActivityResponse.Builder,DescribeActivityResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static DescribeActivityResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DescribeActivityResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo