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
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
progressUpdateStream
AssociateCreatedArtifactRequest.Builder progressUpdateStream(String 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
AssociateCreatedArtifactRequest.Builder migrationTaskName(String 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
AssociateCreatedArtifactRequest.Builder createdArtifact(CreatedArtifact 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:
createdArtifact(CreatedArtifact)
-
dryRun
AssociateCreatedArtifactRequest.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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateCreatedArtifactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-