public static interface DeprecateActivityTypeRequest.Builder extends SWFRequest.Builder, CopyableBuilder<DeprecateActivityTypeRequest.Builder,DeprecateActivityTypeRequest>
Modifier and Type | Method and Description |
---|---|
DeprecateActivityTypeRequest.Builder |
activityType(ActivityType activityType)
The activity type to deprecate.
|
default DeprecateActivityTypeRequest.Builder |
activityType(Consumer<ActivityType.Builder> activityType)
The activity type to deprecate.
|
DeprecateActivityTypeRequest.Builder |
domain(String domain)
The name of the domain in which the activity type is registered.
|
DeprecateActivityTypeRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DeprecateActivityTypeRequest.Builder domain(String domain)
The name of the domain in which the activity type is registered.
domain
- The name of the domain in which the activity type is registered.DeprecateActivityTypeRequest.Builder activityType(ActivityType activityType)
The activity type to deprecate.
activityType
- The activity type to deprecate.default DeprecateActivityTypeRequest.Builder activityType(Consumer<ActivityType.Builder> activityType)
The activity type to deprecate.
This is a convenience that creates an instance of theActivityType.Builder
avoiding the need to
create one manually via ActivityType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to activityType(ActivityType)
.activityType
- a consumer that will call methods on ActivityType.Builder
activityType(ActivityType)
DeprecateActivityTypeRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.