@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskManagedEBSVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task.
| Constructor and Description | 
|---|
TaskManagedEBSVolumeConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
TaskManagedEBSVolumeConfiguration | 
clone()  | 
boolean | 
equals(Object obj)  | 
Boolean | 
getEncrypted()
 Indicates whether the volume should be encrypted. 
 | 
String | 
getFilesystemType()
 The Linux filesystem type for the volume. 
 | 
Integer | 
getIops()
 The number of I/O operations per second (IOPS). 
 | 
String | 
getKmsKeyId()
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. 
 | 
String | 
getRoleArn()
 The ARN of the IAM role to associate with this volume. 
 | 
Integer | 
getSizeInGiB()
 The size of the volume in GiB. 
 | 
String | 
getSnapshotId()
 The snapshot that Amazon ECS uses to create the volume. 
 | 
List<EBSTagSpecification> | 
getTagSpecifications()
 The tags to apply to the volume. 
 | 
TaskManagedEBSVolumeTerminationPolicy | 
getTerminationPolicy()
 The termination policy for the volume when the task exits. 
 | 
Integer | 
getThroughput()
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. 
 | 
String | 
getVolumeType()
 The volume type. 
 | 
int | 
hashCode()  | 
Boolean | 
isEncrypted()
 Indicates whether the volume should be encrypted. 
 | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setEncrypted(Boolean encrypted)
 Indicates whether the volume should be encrypted. 
 | 
void | 
setFilesystemType(String filesystemType)
 The Linux filesystem type for the volume. 
 | 
void | 
setIops(Integer iops)
 The number of I/O operations per second (IOPS). 
 | 
void | 
setKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. 
 | 
void | 
setRoleArn(String roleArn)
 The ARN of the IAM role to associate with this volume. 
 | 
void | 
setSizeInGiB(Integer sizeInGiB)
 The size of the volume in GiB. 
 | 
void | 
setSnapshotId(String snapshotId)
 The snapshot that Amazon ECS uses to create the volume. 
 | 
void | 
setTagSpecifications(Collection<EBSTagSpecification> tagSpecifications)
 The tags to apply to the volume. 
 | 
void | 
setTerminationPolicy(TaskManagedEBSVolumeTerminationPolicy terminationPolicy)
 The termination policy for the volume when the task exits. 
 | 
void | 
setThroughput(Integer throughput)
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. 
 | 
void | 
setVolumeType(String volumeType)
 The volume type. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
TaskManagedEBSVolumeConfiguration | 
withEncrypted(Boolean encrypted)
 Indicates whether the volume should be encrypted. 
 | 
TaskManagedEBSVolumeConfiguration | 
withFilesystemType(String filesystemType)
 The Linux filesystem type for the volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withFilesystemType(TaskFilesystemType filesystemType)
 The Linux filesystem type for the volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withIops(Integer iops)
 The number of I/O operations per second (IOPS). 
 | 
TaskManagedEBSVolumeConfiguration | 
withKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. 
 | 
TaskManagedEBSVolumeConfiguration | 
withRoleArn(String roleArn)
 The ARN of the IAM role to associate with this volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withSizeInGiB(Integer sizeInGiB)
 The size of the volume in GiB. 
 | 
TaskManagedEBSVolumeConfiguration | 
withSnapshotId(String snapshotId)
 The snapshot that Amazon ECS uses to create the volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withTagSpecifications(Collection<EBSTagSpecification> tagSpecifications)
 The tags to apply to the volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withTagSpecifications(EBSTagSpecification... tagSpecifications)
 The tags to apply to the volume. 
 | 
TaskManagedEBSVolumeConfiguration | 
withTerminationPolicy(TaskManagedEBSVolumeTerminationPolicy terminationPolicy)
 The termination policy for the volume when the task exits. 
 | 
TaskManagedEBSVolumeConfiguration | 
withThroughput(Integer throughput)
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. 
 | 
TaskManagedEBSVolumeConfiguration | 
withVolumeType(String volumeType)
 The volume type. 
 | 
public void setEncrypted(Boolean encrypted)
 Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by default.
 This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
encrypted - Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by
        default. This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public Boolean getEncrypted()
 Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by default.
 This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
Encrypted parameter of the CreateVolume API
         in the Amazon EC2 API Reference.public TaskManagedEBSVolumeConfiguration withEncrypted(Boolean encrypted)
 Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by default.
 This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
encrypted - Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by
        default. This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public Boolean isEncrypted()
 Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by default.
 This parameter maps 1:1 with the Encrypted parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
Encrypted parameter of the CreateVolume API
         in the Amazon EC2 API Reference.public void setKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. When encryption is turned on and no Amazon Web Services Key Management Service key is specified,
 the default Amazon Web Services managed key for Amazon EBS volumes is used. This parameter maps 1:1 with the
 KmsKeyId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
kmsKeyId - The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for
        Amazon EBS encryption. When encryption is turned on and no Amazon Web Services Key Management Service key
        is specified, the default Amazon Web Services managed key for Amazon EBS volumes is used. This parameter
        maps 1:1 with the KmsKeyId parameter of the CreateVolume API
        in the Amazon EC2 API Reference. Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
public String getKmsKeyId()
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. When encryption is turned on and no Amazon Web Services Key Management Service key is specified,
 the default Amazon Web Services managed key for Amazon EBS volumes is used. This parameter maps 1:1 with the
 KmsKeyId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
KmsKeyId parameter of the CreateVolume API
         in the Amazon EC2 API Reference. Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
public TaskManagedEBSVolumeConfiguration withKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon
 EBS encryption. When encryption is turned on and no Amazon Web Services Key Management Service key is specified,
 the default Amazon Web Services managed key for Amazon EBS volumes is used. This parameter maps 1:1 with the
 KmsKeyId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
kmsKeyId - The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for
        Amazon EBS encryption. When encryption is turned on and no Amazon Web Services Key Management Service key
        is specified, the default Amazon Web Services managed key for Amazon EBS volumes is used. This parameter
        maps 1:1 with the KmsKeyId parameter of the CreateVolume API
        in the Amazon EC2 API Reference. Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
public void setVolumeType(String volumeType)
 The volume type. This parameter maps 1:1 with the VolumeType parameter of the CreateVolume API in the
 Amazon EC2 API Reference. For more information, see Amazon EBS volume types in
 the Amazon EC2 User Guide.
 
The following are the supported volume types.
 General Purpose SSD: gp2|gp3
 
 Provisioned IOPS SSD: io1|io2
 
 Throughput Optimized HDD: st1
 
 Cold HDD: sc1
 
 Magnetic: standard
 
The magnetic volume type is not supported on Fargate.
volumeType - The volume type. This parameter maps 1:1 with the VolumeType parameter of the CreateVolume API
        in the Amazon EC2 API Reference. For more information, see Amazon EBS volume
        types in the Amazon EC2 User Guide.
        The following are the supported volume types.
        General Purpose SSD: gp2|gp3
        
        Provisioned IOPS SSD: io1|io2
        
        Throughput Optimized HDD: st1
        
        Cold HDD: sc1
        
        Magnetic: standard
        
The magnetic volume type is not supported on Fargate.
public String getVolumeType()
 The volume type. This parameter maps 1:1 with the VolumeType parameter of the CreateVolume API in the
 Amazon EC2 API Reference. For more information, see Amazon EBS volume types in
 the Amazon EC2 User Guide.
 
The following are the supported volume types.
 General Purpose SSD: gp2|gp3
 
 Provisioned IOPS SSD: io1|io2
 
 Throughput Optimized HDD: st1
 
 Cold HDD: sc1
 
 Magnetic: standard
 
The magnetic volume type is not supported on Fargate.
VolumeType parameter of the CreateVolume API
         in the Amazon EC2 API Reference. For more information, see Amazon EBS volume
         types in the Amazon EC2 User Guide.
         The following are the supported volume types.
         General Purpose SSD: gp2|gp3
         
         Provisioned IOPS SSD: io1|io2
         
         Throughput Optimized HDD: st1
         
         Cold HDD: sc1
         
         Magnetic: standard
         
The magnetic volume type is not supported on Fargate.
public TaskManagedEBSVolumeConfiguration withVolumeType(String volumeType)
 The volume type. This parameter maps 1:1 with the VolumeType parameter of the CreateVolume API in the
 Amazon EC2 API Reference. For more information, see Amazon EBS volume types in
 the Amazon EC2 User Guide.
 
The following are the supported volume types.
 General Purpose SSD: gp2|gp3
 
 Provisioned IOPS SSD: io1|io2
 
 Throughput Optimized HDD: st1
 
 Cold HDD: sc1
 
 Magnetic: standard
 
The magnetic volume type is not supported on Fargate.
volumeType - The volume type. This parameter maps 1:1 with the VolumeType parameter of the CreateVolume API
        in the Amazon EC2 API Reference. For more information, see Amazon EBS volume
        types in the Amazon EC2 User Guide.
        The following are the supported volume types.
        General Purpose SSD: gp2|gp3
        
        Provisioned IOPS SSD: io1|io2
        
        Throughput Optimized HDD: st1
        
        Cold HDD: sc1
        
        Magnetic: standard
        
The magnetic volume type is not supported on Fargate.
public void setSizeInGiB(Integer sizeInGiB)
 The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a snapshot
 ID, the snapshot size is used for the volume size by default. You can optionally specify a volume size greater
 than or equal to the snapshot size. This parameter maps 1:1 with the Size parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
The following are the supported volume size values for each volume type.
 gp2 and gp3: 1-16,384
 
 io1 and io2: 4-16,384
 
 st1 and sc1: 125-16,384
 
 standard: 1-1,024
 
sizeInGiB - The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a
        snapshot ID, the snapshot size is used for the volume size by default. You can optionally specify a volume
        size greater than or equal to the snapshot size. This parameter maps 1:1 with the Size
        parameter of the CreateVolume API
        in the Amazon EC2 API Reference.
        The following are the supported volume size values for each volume type.
        gp2 and gp3: 1-16,384
        
        io1 and io2: 4-16,384
        
        st1 and sc1: 125-16,384
        
        standard: 1-1,024
        
public Integer getSizeInGiB()
 The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a snapshot
 ID, the snapshot size is used for the volume size by default. You can optionally specify a volume size greater
 than or equal to the snapshot size. This parameter maps 1:1 with the Size parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
The following are the supported volume size values for each volume type.
 gp2 and gp3: 1-16,384
 
 io1 and io2: 4-16,384
 
 st1 and sc1: 125-16,384
 
 standard: 1-1,024
 
Size parameter of the CreateVolume API
         in the Amazon EC2 API Reference.
         The following are the supported volume size values for each volume type.
         gp2 and gp3: 1-16,384
         
         io1 and io2: 4-16,384
         
         st1 and sc1: 125-16,384
         
         standard: 1-1,024
         
public TaskManagedEBSVolumeConfiguration withSizeInGiB(Integer sizeInGiB)
 The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a snapshot
 ID, the snapshot size is used for the volume size by default. You can optionally specify a volume size greater
 than or equal to the snapshot size. This parameter maps 1:1 with the Size parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
The following are the supported volume size values for each volume type.
 gp2 and gp3: 1-16,384
 
 io1 and io2: 4-16,384
 
 st1 and sc1: 125-16,384
 
 standard: 1-1,024
 
sizeInGiB - The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a
        snapshot ID, the snapshot size is used for the volume size by default. You can optionally specify a volume
        size greater than or equal to the snapshot size. This parameter maps 1:1 with the Size
        parameter of the CreateVolume API
        in the Amazon EC2 API Reference.
        The following are the supported volume size values for each volume type.
        gp2 and gp3: 1-16,384
        
        io1 and io2: 4-16,384
        
        st1 and sc1: 125-16,384
        
        standard: 1-1,024
        
public void setSnapshotId(String snapshotId)
 The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size.
 This parameter maps 1:1 with the SnapshotId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
snapshotId - The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume
        size. This parameter maps 1:1 with the SnapshotId parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public String getSnapshotId()
 The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size.
 This parameter maps 1:1 with the SnapshotId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
SnapshotId parameter of the CreateVolume API
         in the Amazon EC2 API Reference.public TaskManagedEBSVolumeConfiguration withSnapshotId(String snapshotId)
 The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size.
 This parameter maps 1:1 with the SnapshotId parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
snapshotId - The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume
        size. This parameter maps 1:1 with the SnapshotId parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public void setIops(Integer iops)
 The number of I/O operations per second (IOPS). For gp3, io1, and io2
 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes,
 this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits
 for bursting.
 
The following are the supported values for each volume type.
 gp3: 3,000 - 16,000 IOPS
 
 io1: 100 - 64,000 IOPS
 
 io2: 100 - 256,000 IOPS
 
 This parameter is required for io1 and io2 volume types. The default for
 gp3 volumes is 3,000 IOPS. This parameter is not supported for st1,
 sc1, or standard volume types.
 
 This parameter maps 1:1 with the Iops parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
iops - The number of I/O operations per second (IOPS). For gp3, io1, and
        io2 volumes, this represents the number of IOPS that are provisioned for the volume. For
        gp2 volumes, this represents the baseline performance of the volume and the rate at which the
        volume accumulates I/O credits for bursting.
        The following are the supported values for each volume type.
        gp3: 3,000 - 16,000 IOPS
        
        io1: 100 - 64,000 IOPS
        
        io2: 100 - 256,000 IOPS
        
        This parameter is required for io1 and io2 volume types. The default for
        gp3 volumes is 3,000 IOPS. This parameter is not supported for st1,
        sc1, or standard volume types.
        
        This parameter maps 1:1 with the Iops parameter of the CreateVolume API
        in the Amazon EC2 API Reference.
public Integer getIops()
 The number of I/O operations per second (IOPS). For gp3, io1, and io2
 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes,
 this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits
 for bursting.
 
The following are the supported values for each volume type.
 gp3: 3,000 - 16,000 IOPS
 
 io1: 100 - 64,000 IOPS
 
 io2: 100 - 256,000 IOPS
 
 This parameter is required for io1 and io2 volume types. The default for
 gp3 volumes is 3,000 IOPS. This parameter is not supported for st1,
 sc1, or standard volume types.
 
 This parameter maps 1:1 with the Iops parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
gp3, io1, and
         io2 volumes, this represents the number of IOPS that are provisioned for the volume. For
         gp2 volumes, this represents the baseline performance of the volume and the rate at which
         the volume accumulates I/O credits for bursting.
         The following are the supported values for each volume type.
         gp3: 3,000 - 16,000 IOPS
         
         io1: 100 - 64,000 IOPS
         
         io2: 100 - 256,000 IOPS
         
         This parameter is required for io1 and io2 volume types. The default for
         gp3 volumes is 3,000 IOPS. This parameter is not supported for st1, sc1, or standard volume types.
         
         This parameter maps 1:1 with the Iops parameter of the CreateVolume API
         in the Amazon EC2 API Reference.
public TaskManagedEBSVolumeConfiguration withIops(Integer iops)
 The number of I/O operations per second (IOPS). For gp3, io1, and io2
 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes,
 this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits
 for bursting.
 
The following are the supported values for each volume type.
 gp3: 3,000 - 16,000 IOPS
 
 io1: 100 - 64,000 IOPS
 
 io2: 100 - 256,000 IOPS
 
 This parameter is required for io1 and io2 volume types. The default for
 gp3 volumes is 3,000 IOPS. This parameter is not supported for st1,
 sc1, or standard volume types.
 
 This parameter maps 1:1 with the Iops parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
iops - The number of I/O operations per second (IOPS). For gp3, io1, and
        io2 volumes, this represents the number of IOPS that are provisioned for the volume. For
        gp2 volumes, this represents the baseline performance of the volume and the rate at which the
        volume accumulates I/O credits for bursting.
        The following are the supported values for each volume type.
        gp3: 3,000 - 16,000 IOPS
        
        io1: 100 - 64,000 IOPS
        
        io2: 100 - 256,000 IOPS
        
        This parameter is required for io1 and io2 volume types. The default for
        gp3 volumes is 3,000 IOPS. This parameter is not supported for st1,
        sc1, or standard volume types.
        
        This parameter maps 1:1 with the Iops parameter of the CreateVolume API
        in the Amazon EC2 API Reference.
public void setThroughput(Integer throughput)
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with
 the Throughput parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
 This parameter is only supported for the gp3 volume type.
 
throughput - The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1
        with the Throughput parameter of the CreateVolume API
        in the Amazon EC2 API Reference. 
        This parameter is only supported for the gp3 volume type.
        
public Integer getThroughput()
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with
 the Throughput parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
 This parameter is only supported for the gp3 volume type.
 
Throughput parameter of the CreateVolume API
         in the Amazon EC2 API Reference. 
         This parameter is only supported for the gp3 volume type.
         
public TaskManagedEBSVolumeConfiguration withThroughput(Integer throughput)
 The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with
 the Throughput parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
 This parameter is only supported for the gp3 volume type.
 
throughput - The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1
        with the Throughput parameter of the CreateVolume API
        in the Amazon EC2 API Reference. 
        This parameter is only supported for the gp3 volume type.
        
public List<EBSTagSpecification> getTagSpecifications()
 The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with
 the TagSpecifications.N parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
TagSpecifications.N parameter of the CreateVolume API
         in the Amazon EC2 API Reference.public void setTagSpecifications(Collection<EBSTagSpecification> tagSpecifications)
 The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with
 the TagSpecifications.N parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
tagSpecifications - The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps
        1:1 with the TagSpecifications.N parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public TaskManagedEBSVolumeConfiguration withTagSpecifications(EBSTagSpecification... tagSpecifications)
 The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with
 the TagSpecifications.N parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setTagSpecifications(java.util.Collection) or withTagSpecifications(java.util.Collection) if
 you want to override the existing values.
 
tagSpecifications - The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps
        1:1 with the TagSpecifications.N parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public TaskManagedEBSVolumeConfiguration withTagSpecifications(Collection<EBSTagSpecification> tagSpecifications)
 The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with
 the TagSpecifications.N parameter of the CreateVolume API in the
 Amazon EC2 API Reference.
 
tagSpecifications - The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps
        1:1 with the TagSpecifications.N parameter of the CreateVolume API
        in the Amazon EC2 API Reference.public void setRoleArn(String roleArn)
 The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that is
 used to manage your Amazon Web Services infrastructure. We recommend using the Amazon ECS-managed
 AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information, see Amazon ECS
 infrastructure IAM role in the Amazon ECS Developer Guide.
 
roleArn - The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that
        is used to manage your Amazon Web Services infrastructure. We recommend using the Amazon ECS-managed
        AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information,
        see Amazon ECS
        infrastructure IAM role in the Amazon ECS Developer Guide.public String getRoleArn()
 The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that is
 used to manage your Amazon Web Services infrastructure. We recommend using the Amazon ECS-managed
 AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information, see Amazon ECS
 infrastructure IAM role in the Amazon ECS Developer Guide.
 
AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information,
         see Amazon
         ECS infrastructure IAM role in the Amazon ECS Developer Guide.public TaskManagedEBSVolumeConfiguration withRoleArn(String roleArn)
 The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that is
 used to manage your Amazon Web Services infrastructure. We recommend using the Amazon ECS-managed
 AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information, see Amazon ECS
 infrastructure IAM role in the Amazon ECS Developer Guide.
 
roleArn - The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that
        is used to manage your Amazon Web Services infrastructure. We recommend using the Amazon ECS-managed
        AmazonECSInfrastructureRolePolicyForVolumes IAM policy with this role. For more information,
        see Amazon ECS
        infrastructure IAM role in the Amazon ECS Developer Guide.public void setTerminationPolicy(TaskManagedEBSVolumeTerminationPolicy terminationPolicy)
The termination policy for the volume when the task exits. This provides a way to control whether Amazon ECS terminates the Amazon EBS volume when the task stops.
terminationPolicy - The termination policy for the volume when the task exits. This provides a way to control whether Amazon
        ECS terminates the Amazon EBS volume when the task stops.public TaskManagedEBSVolumeTerminationPolicy getTerminationPolicy()
The termination policy for the volume when the task exits. This provides a way to control whether Amazon ECS terminates the Amazon EBS volume when the task stops.
public TaskManagedEBSVolumeConfiguration withTerminationPolicy(TaskManagedEBSVolumeTerminationPolicy terminationPolicy)
The termination policy for the volume when the task exits. This provides a way to control whether Amazon ECS terminates the Amazon EBS volume when the task stops.
terminationPolicy - The termination policy for the volume when the task exits. This provides a way to control whether Amazon
        ECS terminates the Amazon EBS volume when the task stops.public void setFilesystemType(String filesystemType)
The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start.
 The available filesystem types are
 ext3, ext4, and xfs. If no
 value is specified, the xfs filesystem type is used by default.
 
filesystemType - The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same
        filesystem type that the volume was using when the snapshot was created. If there is a filesystem type
        mismatch, the task will fail to start.
        
        The available filesystem types are
 ext3, ext4, and xfs. If
        no value is specified, the xfs filesystem type is used by default.
TaskFilesystemTypepublic String getFilesystemType()
The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start.
 The available filesystem types are
 ext3, ext4, and xfs. If no
 value is specified, the xfs filesystem type is used by default.
 
         The available filesystem types are
 ext3, ext4, and xfs. If
         no value is specified, the xfs filesystem type is used by default.
TaskFilesystemTypepublic TaskManagedEBSVolumeConfiguration withFilesystemType(String filesystemType)
The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start.
 The available filesystem types are
 ext3, ext4, and xfs. If no
 value is specified, the xfs filesystem type is used by default.
 
filesystemType - The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same
        filesystem type that the volume was using when the snapshot was created. If there is a filesystem type
        mismatch, the task will fail to start.
        
        The available filesystem types are
 ext3, ext4, and xfs. If
        no value is specified, the xfs filesystem type is used by default.
TaskFilesystemTypepublic TaskManagedEBSVolumeConfiguration withFilesystemType(TaskFilesystemType filesystemType)
The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start.
 The available filesystem types are
 ext3, ext4, and xfs. If no
 value is specified, the xfs filesystem type is used by default.
 
filesystemType - The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same
        filesystem type that the volume was using when the snapshot was created. If there is a filesystem type
        mismatch, the task will fail to start.
        
        The available filesystem types are
 ext3, ext4, and xfs. If
        no value is specified, the xfs filesystem type is used by default.
TaskFilesystemTypepublic String toString()
toString in class ObjectObject.toString()public TaskManagedEBSVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.