Interface AssociateCreatedArtifactRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateCreatedArtifactRequest.Builder,,AssociateCreatedArtifactRequest> MigrationHubRequest.Builder,SdkBuilder<AssociateCreatedArtifactRequest.Builder,,AssociateCreatedArtifactRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateCreatedArtifactRequest
public static interface AssociateCreatedArtifactRequest.Builder
extends MigrationHubRequest.Builder, SdkPojo, CopyableBuilder<AssociateCreatedArtifactRequest.Builder,AssociateCreatedArtifactRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedArtifact(Consumer<CreatedArtifact.Builder> createdArtifact) An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)createdArtifact(CreatedArtifact createdArtifact) An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)Optional boolean flag to indicate whether any effect should take place.migrationTaskName(String migrationTaskName) Unique identifier that references the migration task.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.progressUpdateStream(String progressUpdateStream) The name of the ProgressUpdateStream.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
progressUpdateStream
The name of the ProgressUpdateStream.
- Parameters:
progressUpdateStream- The name of the ProgressUpdateStream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationTaskName
Unique identifier that references the migration task. Do not store personal data in this field.
- Parameters:
migrationTaskName- Unique identifier that references the migration task. Do not store personal data in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdArtifact
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
- Parameters:
createdArtifact- An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdArtifact
default AssociateCreatedArtifactRequest.Builder createdArtifact(Consumer<CreatedArtifact.Builder> createdArtifact) An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
This is a convenience method that creates an instance of theCreatedArtifact.Builderavoiding the need to create one manually viaCreatedArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedArtifact(CreatedArtifact).- Parameters:
createdArtifact- a consumer that will call methods onCreatedArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
- Parameters:
dryRun- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateCreatedArtifactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateCreatedArtifactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-