Interface InstanceProfile.Builder

    • Method Detail

      • instanceProfileArn

        InstanceProfile.Builder instanceProfileArn​(String instanceProfileArn)

        The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.

        Parameters:
        instanceProfileArn - The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        InstanceProfile.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

        InstanceProfile.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 KmsKeyArn parameter, 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 KmsKeyArn parameter, 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

        InstanceProfile.Builder publiclyAccessible​(Boolean publiclyAccessible)

        Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

        Parameters:
        publiclyAccessible - Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkType

        InstanceProfile.Builder networkType​(String networkType)

        Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents 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 of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents 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

        InstanceProfile.Builder instanceProfileName​(String instanceProfileName)

        The user-friendly name for the instance profile.

        Parameters:
        instanceProfileName - The user-friendly name for the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        InstanceProfile.Builder description​(String description)

        A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.

        Parameters:
        description - A description of the instance profile. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceProfileCreationTime

        InstanceProfile.Builder instanceProfileCreationTime​(Instant instanceProfileCreationTime)

        The time the instance profile was created.

        Parameters:
        instanceProfileCreationTime - The time the instance profile was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetGroupIdentifier

        InstanceProfile.Builder subnetGroupIdentifier​(String subnetGroupIdentifier)

        The identifier of the subnet group that is associated with the instance profile.

        Parameters:
        subnetGroupIdentifier - The identifier of the subnet group that is associated with the instance profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcSecurityGroups

        InstanceProfile.Builder vpcSecurityGroups​(Collection<String> vpcSecurityGroups)

        The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

        Parameters:
        vpcSecurityGroups - The VPC security groups that are 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

        InstanceProfile.Builder vpcSecurityGroups​(String... vpcSecurityGroups)

        The VPC security groups that are used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

        Parameters:
        vpcSecurityGroups - The VPC security groups that are 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.