public static interface PutResourceAttributesRequest.Builder extends MigrationHubRequest.Builder, CopyableBuilder<PutResourceAttributesRequest.Builder,PutResourceAttributesRequest>
Modifier and Type | Method and Description |
---|---|
PutResourceAttributesRequest.Builder |
dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place.
|
PutResourceAttributesRequest.Builder |
migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
PutResourceAttributesRequest.Builder |
progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
PutResourceAttributesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutResourceAttributesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
PutResourceAttributesRequest.Builder |
resourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated.
|
PutResourceAttributesRequest.Builder |
resourceAttributeList(Consumer<ResourceAttribute.Builder>... resourceAttributeList)
Information about the resource that is being migrated.
|
PutResourceAttributesRequest.Builder |
resourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated.
|
build
requestOverrideConfig
copy
apply, build
PutResourceAttributesRequest.Builder progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
progressUpdateStream
- The name of the ProgressUpdateStream.PutResourceAttributesRequest.Builder migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.PutResourceAttributesRequest.Builder resourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service (ADS)'s repository.PutResourceAttributesRequest.Builder resourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service (ADS)'s repository.PutResourceAttributesRequest.Builder resourceAttributeList(Consumer<ResourceAttribute.Builder>... resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #resourceAttributeList(List)
.resourceAttributeList
- a consumer that will call methods on List.Builder
#resourceAttributeList(List)
PutResourceAttributesRequest.Builder dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
dryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has
permission to make the call.PutResourceAttributesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.PutResourceAttributesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.