Interface DescribeActivityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeActivityResponse.Builder,
,DescribeActivityResponse> SdkBuilder<DescribeActivityResponse.Builder,
,DescribeActivityResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
DescribeActivityResponse
-
Method Summary
Modifier and TypeMethodDescriptionactivityArn
(String activityArn) The Amazon Resource Name (ARN) that identifies the activity.creationDate
(Instant creationDate) The date the activity is created.default DescribeActivityResponse.Builder
encryptionConfiguration
(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Settings for configured server-side encryption.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) Settings for configured server-side encryption.The name of the activity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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 theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-