Interface DescribeActivityTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeActivityTypeResponse.Builder,DescribeActivityTypeResponse>,SdkBuilder<DescribeActivityTypeResponse.Builder,DescribeActivityTypeResponse>,SdkPojo,SdkResponse.Builder,SwfResponse.Builder
- Enclosing class:
- DescribeActivityTypeResponse
public static interface DescribeActivityTypeResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<DescribeActivityTypeResponse.Builder,DescribeActivityTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeActivityTypeResponse.Builderconfiguration(Consumer<ActivityTypeConfiguration.Builder> configuration)The configuration settings registered with the activity type.DescribeActivityTypeResponse.Builderconfiguration(ActivityTypeConfiguration configuration)The configuration settings registered with the activity type.default DescribeActivityTypeResponse.BuildertypeInfo(Consumer<ActivityTypeInfo.Builder> typeInfo)General information about the activity type.DescribeActivityTypeResponse.BuildertypeInfo(ActivityTypeInfo typeInfo)General information about the activity type.-
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.swf.model.SwfResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
typeInfo
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
typeInfo
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.Builderavoiding the need to create one manually viaActivityTypeInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totypeInfo(ActivityTypeInfo).- Parameters:
typeInfo- a consumer that will call methods onActivityTypeInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
typeInfo(ActivityTypeInfo)
-
-
configuration
DescribeActivityTypeResponse.Builder configuration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.
- Parameters:
configuration- The configuration settings registered with the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DescribeActivityTypeResponse.Builder configuration(Consumer<ActivityTypeConfiguration.Builder> configuration)
The configuration settings registered with the activity type.
This is a convenience method that creates an instance of theActivityTypeConfiguration.Builderavoiding the need to create one manually viaActivityTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ActivityTypeConfiguration).- Parameters:
configuration- a consumer that will call methods onActivityTypeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ActivityTypeConfiguration)
-
-