Interface DescribeActivityResponse.Builder

  • Method Details

    • activityArn

      DescribeActivityResponse.Builder activityArn(String activityArn)

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

      Parameters:
      activityArn - The Amazon Resource Name (ARN) that identifies the activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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)

      To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

      Parameters:
      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)

      To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      DescribeActivityResponse.Builder creationDate(Instant creationDate)

      The date the activity is created.

      Parameters:
      creationDate - The date the activity is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      DescribeActivityResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      Settings for configured server-side encryption.

      Parameters:
      encryptionConfiguration - Settings for configured server-side encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default DescribeActivityResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      Settings for configured server-side encryption.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: