Interface RootVolumeConfiguration.Builder

  • Method Details

    • volumeType

      RootVolumeConfiguration.Builder volumeType(String volumeType)

      The Amazon EBS volume type. If you do not specify a type, the default is gp3.

      Parameters:
      volumeType - The Amazon EBS volume type. If you do not specify a type, the default is gp3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      The Amazon EBS volume type. If you do not specify a type, the default is gp3.

      Parameters:
      volumeType - The Amazon EBS volume type. If you do not specify a type, the default is gp3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • iops

      The number of IOPS to provision. For gp3, io1, and io2 volumes, this is the number of IOPS provisioned for the volume. For gp2 volumes, this sets the baseline IOPS performance. It also controls the rate at which the volume accumulates I/O credits for bursting. Supported values: gp3, 3,000–80,000; io1, 100–64,000; io2, 100–256,000.

      Parameters:
      iops - The number of IOPS to provision. For gp3, io1, and io2 volumes, this is the number of IOPS provisioned for the volume. For gp2 volumes, this sets the baseline IOPS performance. It also controls the rate at which the volume accumulates I/O credits for bursting. Supported values: gp3, 3,000–80,000; io1, 100–64,000; io2, 100–256,000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throughput

      RootVolumeConfiguration.Builder throughput(Integer throughput)

      The throughput to provision, in MiB/s. Valid only for gp3 volumes. Valid range: 125–2,000 MiB/s.

      Parameters:
      throughput - The throughput to provision, in MiB/s. Valid only for gp3 volumes. Valid range: 125–2,000 MiB/s.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encrypted

      Specifies whether to encrypt the volume. Encrypted volumes can be attached only to instances that support Amazon EBS encryption. If you create a volume from a snapshot, you cannot specify an encryption value.

      Parameters:
      encrypted - Specifies whether to encrypt the volume. Encrypted volumes can be attached only to instances that support Amazon EBS encryption. If you create a volume from a snapshot, you cannot specify an encryption value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      The identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for Amazon EBS encryption.

      Parameters:
      kmsKeyId - The identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for Amazon EBS encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • freeSpaceGiB

      RootVolumeConfiguration.Builder freeSpaceGiB(Integer freeSpaceGiB)

      The free space guaranteed on the root volume, in GiB. AgentCore adds the operating system overhead on top of this value. The default is 8 GiB.

      Parameters:
      freeSpaceGiB - The free space guaranteed on the root volume, in GiB. AgentCore adds the operating system overhead on top of this value. The default is 8 GiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.