Interface ModifyInstanceProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyInstanceProfileRequest.Builder,ModifyInstanceProfileRequest>,DatabaseMigrationRequest.Builder,SdkBuilder<ModifyInstanceProfileRequest.Builder,ModifyInstanceProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyInstanceProfileRequest
public static interface ModifyInstanceProfileRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<ModifyInstanceProfileRequest.Builder,ModifyInstanceProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyInstanceProfileRequest.BuilderavailabilityZone(String availabilityZone)The Availability Zone where the instance profile runs.ModifyInstanceProfileRequest.Builderdescription(String description)A user-friendly description for the instance profile.ModifyInstanceProfileRequest.BuilderinstanceProfileIdentifier(String instanceProfileIdentifier)The identifier of the instance profile.ModifyInstanceProfileRequest.BuilderinstanceProfileName(String instanceProfileName)A user-friendly name for the instance profile.ModifyInstanceProfileRequest.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.ModifyInstanceProfileRequest.BuildernetworkType(String networkType)Specifies the network type for the instance profile.ModifyInstanceProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyInstanceProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyInstanceProfileRequest.BuilderpubliclyAccessible(Boolean publiclyAccessible)Specifies the accessibility options for the instance profile.ModifyInstanceProfileRequest.BuildersubnetGroupIdentifier(String subnetGroupIdentifier)A subnet group to associate with the instance profile.ModifyInstanceProfileRequest.BuildervpcSecurityGroups(String... vpcSecurityGroups)Specifies the VPC security groups to be used with the instance profile.ModifyInstanceProfileRequest.BuildervpcSecurityGroups(Collection<String> vpcSecurityGroups)Specifies the VPC security groups to be used with the instance profile.-
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.databasemigration.model.DatabaseMigrationRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceProfileIdentifier
ModifyInstanceProfileRequest.Builder instanceProfileIdentifier(String instanceProfileIdentifier)
The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- Parameters:
instanceProfileIdentifier- The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
ModifyInstanceProfileRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone where the instance profile runs.
- Parameters:
availabilityZone- The Availability Zone where the instance profile runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
ModifyInstanceProfileRequest.Builder kmsKeyArn(String 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
ModifyInstanceProfileRequest.Builder publiclyAccessible(Boolean 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.
-
networkType
ModifyInstanceProfileRequest.Builder networkType(String 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
ModifyInstanceProfileRequest.Builder instanceProfileName(String 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
ModifyInstanceProfileRequest.Builder description(String description)
A user-friendly description for the instance profile.
- Parameters:
description- A user-friendly description for the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupIdentifier
ModifyInstanceProfileRequest.Builder subnetGroupIdentifier(String 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
ModifyInstanceProfileRequest.Builder vpcSecurityGroups(Collection<String> vpcSecurityGroups)
Specifies the VPC security groups 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 groups 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
ModifyInstanceProfileRequest.Builder vpcSecurityGroups(String... vpcSecurityGroups)
Specifies the VPC security groups 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 groups 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
ModifyInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-