Interface CreateInstanceProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInstanceProfileRequest.Builder,,CreateInstanceProfileRequest> DatabaseMigrationRequest.Builder,SdkBuilder<CreateInstanceProfileRequest.Builder,,CreateInstanceProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateInstanceProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone where the instance profile will be created.description(String description) A user-friendly description of the instance profile.instanceProfileName(String instanceProfileName) A user-friendly name for the instance profile.The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.networkType(String networkType) Specifies the network type for the instance profile.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publiclyAccessible(Boolean publiclyAccessible) Specifies the accessibility options for the instance profile.subnetGroupIdentifier(String subnetGroupIdentifier) A subnet group to associate with the instance profile.tags(Collection<Tag> tags) One or more tags to be assigned to the instance profile.tags(Consumer<Tag.Builder>... tags) One or more tags to be assigned to the instance profile.One or more tags to be assigned to the instance profile.vpcSecurityGroups(String... vpcSecurityGroups) Specifies the VPC security group names to be used with the instance profile.vpcSecurityGroups(Collection<String> vpcSecurityGroups) Specifies the VPC security group names to be used with the instance profile.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.databasemigration.model.DatabaseMigrationRequest.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
-
availabilityZone
The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplem
us-east-1d.- Parameters:
availabilityZone- The Availability Zone where the instance profile will be created. The default value is a random, system-chosen Availability Zone in the Amazon Web Services Region where your data provider is created, for examplemus-east-1d.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
If you don't specify a value for the
KmsKeyArnparameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.If you don't specify a value for the
KmsKeyArnparameter, then DMS uses your default encryption key.KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
Specifies the accessibility options for the instance profile. A value of
truerepresents an instance profile with a public IP address. A value offalserepresents an instance profile with a private IP address. The default value istrue.- Parameters:
publiclyAccessible- Specifies the accessibility options for the instance profile. A value oftruerepresents an instance profile with a public IP address. A value offalserepresents an instance profile with a private IP address. The default value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags to be assigned to the instance profile.
- Parameters:
tags- One or more tags to be assigned to the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags to be assigned to the instance profile.
- Parameters:
tags- One or more tags to be assigned to the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags to be assigned to the instance profile.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkType
Specifies the network type for the instance profile. A value of
IPV4represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUALrepresents an instance profile with dual network type that supports IPv4 and IPv6 addressing.- Parameters:
networkType- Specifies the network type for the instance profile. A value ofIPV4represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUALrepresents an instance profile with dual network type that supports IPv4 and IPv6 addressing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfileName
A user-friendly name for the instance profile.
- Parameters:
instanceProfileName- A user-friendly name for the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A user-friendly description of the instance profile.
- Parameters:
description- A user-friendly description of the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupIdentifier
A subnet group to associate with the instance profile.
- Parameters:
subnetGroupIdentifier- A subnet group to associate with the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
- Parameters:
vpcSecurityGroups- Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.
- Parameters:
vpcSecurityGroups- Specifies the VPC security group names to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInstanceProfileRequest.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
CreateInstanceProfileRequest.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.
-