Interface CreateClusterRequest.Builder

    • Method Detail

      • backupRetentionPolicy

        CreateClusterRequest.Builder backupRetentionPolicy​(BackupRetentionPolicy backupRetentionPolicy)

        A policy that defines how the service retains backups.

        Parameters:
        backupRetentionPolicy - A policy that defines how the service retains backups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hsmType

        CreateClusterRequest.Builder hsmType​(String hsmType)

        The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.

        Parameters:
        hsmType - The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceBackupId

        CreateClusterRequest.Builder sourceBackupId​(String sourceBackupId)

        The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.

        Parameters:
        sourceBackupId - The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateClusterRequest.Builder subnetIds​(Collection<String> subnetIds)

        The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

        • All subnets must be in the same virtual private cloud (VPC).

        • You can specify only one subnet per Availability Zone.

        Parameters:
        subnetIds - The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

        • All subnets must be in the same virtual private cloud (VPC).

        • You can specify only one subnet per Availability Zone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateClusterRequest.Builder subnetIds​(String... subnetIds)

        The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

        • All subnets must be in the same virtual private cloud (VPC).

        • You can specify only one subnet per Availability Zone.

        Parameters:
        subnetIds - The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

        • All subnets must be in the same virtual private cloud (VPC).

        • You can specify only one subnet per Availability Zone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        CreateClusterRequest.Builder tagList​(Collection<Tag> tagList)

        Tags to apply to the CloudHSM cluster during creation.

        Parameters:
        tagList - Tags to apply to the CloudHSM cluster during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        CreateClusterRequest.Builder tagList​(Tag... tagList)

        Tags to apply to the CloudHSM cluster during creation.

        Parameters:
        tagList - Tags to apply to the CloudHSM cluster during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        CreateClusterRequest.Builder tagList​(Consumer<Tag.Builder>... tagList)

        Tags to apply to the CloudHSM cluster during creation.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tagList(List).

        Parameters:
        tagList - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tagList(java.util.Collection)