public static interface DescribeActivityTypeResponse.Builder extends SWFResponse.Builder, CopyableBuilder<DescribeActivityTypeResponse.Builder,DescribeActivityTypeResponse>
Modifier and Type | Method and Description |
---|---|
DescribeActivityTypeResponse.Builder |
configuration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.
|
default DescribeActivityTypeResponse.Builder |
configuration(Consumer<ActivityTypeConfiguration.Builder> configuration)
The configuration settings registered with the activity type.
|
DescribeActivityTypeResponse.Builder |
typeInfo(ActivityTypeInfo typeInfo)
General information about the activity type.
|
default DescribeActivityTypeResponse.Builder |
typeInfo(Consumer<ActivityTypeInfo.Builder> typeInfo)
General information about the activity type.
|
build
copy
apply, build
DescribeActivityTypeResponse.Builder typeInfo(ActivityTypeInfo typeInfo)
General information about the activity type.
The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.
REGISTERED
– The type is registered and available. Workers supporting this type should be
running.
DEPRECATED
– The type was deprecated using DeprecateActivityType, but is still in use.
You should keep workers supporting this type running. You cannot create new tasks of this type.
typeInfo
- General information about the activity type.
The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.
REGISTERED
– The type is registered and available. Workers supporting this type should be
running.
DEPRECATED
– The type was deprecated using DeprecateActivityType, but is still in
use. You should keep workers supporting this type running. You cannot create new tasks of this type.
default DescribeActivityTypeResponse.Builder typeInfo(Consumer<ActivityTypeInfo.Builder> typeInfo)
General information about the activity type.
The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.
REGISTERED
– The type is registered and available. Workers supporting this type should be
running.
DEPRECATED
– The type was deprecated using DeprecateActivityType, but is still in use.
You should keep workers supporting this type running. You cannot create new tasks of this type.
ActivityTypeInfo.Builder
avoiding the need to
create one manually via ActivityTypeInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to typeInfo(ActivityTypeInfo)
.typeInfo
- a consumer that will call methods on ActivityTypeInfo.Builder
typeInfo(ActivityTypeInfo)
DescribeActivityTypeResponse.Builder configuration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.
configuration
- The configuration settings registered with the activity type.default DescribeActivityTypeResponse.Builder configuration(Consumer<ActivityTypeConfiguration.Builder> configuration)
The configuration settings registered with the activity type.
This is a convenience that creates an instance of theActivityTypeConfiguration.Builder
avoiding the
need to create one manually via ActivityTypeConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to configuration(ActivityTypeConfiguration)
.configuration
- a consumer that will call methods on ActivityTypeConfiguration.Builder
configuration(ActivityTypeConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.