Package com.oracle.bmc.cloudbridge.model
Class AwsEbsProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.AwsEbsProperties.Builder
-
- Enclosing class:
- AwsEbsProperties
public static class AwsEbsProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsEbsProperties.Builderattachments(List<VolumeAttachment> attachments)Information about the volume attachments.AwsEbsProperties.BuilderavailabilityZone(String availabilityZone)The Availability Zone for the volume.AwsEbsPropertiesbuild()AwsEbsProperties.Buildercopy(AwsEbsProperties model)AwsEbsProperties.Builderiops(Integer iops)The number of I/O operations per second.AwsEbsProperties.BuilderisEncrypted(Boolean isEncrypted)Indicates whether the volume is encrypted.AwsEbsProperties.BuilderisMultiAttachEnabled(Boolean isMultiAttachEnabled)Indicates whether Amazon EBS Multi-Attach is enabled.AwsEbsProperties.BuildersizeInGiBs(Integer sizeInGiBs)The size of the volume, in GiBs.AwsEbsProperties.Builderstatus(String status)The volume state.AwsEbsProperties.Buildertags(List<Tag> tags)Any tags assigned to the volume.AwsEbsProperties.Builderthroughput(Integer throughput)The throughput that the volume supports, in MiB/s.AwsEbsProperties.BuildervolumeKey(String volumeKey)The ID of the volume.AwsEbsProperties.BuildervolumeType(String volumeType)The volume type.
-
-
-
Method Detail
-
attachments
public AwsEbsProperties.Builder attachments(List<VolumeAttachment> attachments)
Information about the volume attachments.- Parameters:
attachments- the value to set- Returns:
- this builder
-
availabilityZone
public AwsEbsProperties.Builder availabilityZone(String availabilityZone)
The Availability Zone for the volume.- Parameters:
availabilityZone- the value to set- Returns:
- this builder
-
isEncrypted
public AwsEbsProperties.Builder isEncrypted(Boolean isEncrypted)
Indicates whether the volume is encrypted.- Parameters:
isEncrypted- the value to set- Returns:
- this builder
-
iops
public AwsEbsProperties.Builder iops(Integer iops)
The number of I/O operations per second.- Parameters:
iops- the value to set- Returns:
- this builder
-
isMultiAttachEnabled
public AwsEbsProperties.Builder isMultiAttachEnabled(Boolean isMultiAttachEnabled)
Indicates whether Amazon EBS Multi-Attach is enabled.- Parameters:
isMultiAttachEnabled- the value to set- Returns:
- this builder
-
sizeInGiBs
public AwsEbsProperties.Builder sizeInGiBs(Integer sizeInGiBs)
The size of the volume, in GiBs.- Parameters:
sizeInGiBs- the value to set- Returns:
- this builder
-
status
public AwsEbsProperties.Builder status(String status)
The volume state.- Parameters:
status- the value to set- Returns:
- this builder
-
tags
public AwsEbsProperties.Builder tags(List<Tag> tags)
Any tags assigned to the volume.- Parameters:
tags- the value to set- Returns:
- this builder
-
throughput
public AwsEbsProperties.Builder throughput(Integer throughput)
The throughput that the volume supports, in MiB/s.- Parameters:
throughput- the value to set- Returns:
- this builder
-
volumeKey
public AwsEbsProperties.Builder volumeKey(String volumeKey)
The ID of the volume.- Parameters:
volumeKey- the value to set- Returns:
- this builder
-
volumeType
public AwsEbsProperties.Builder volumeType(String volumeType)
The volume type.- Parameters:
volumeType- the value to set- Returns:
- this builder
-
build
public AwsEbsProperties build()
-
copy
public AwsEbsProperties.Builder copy(AwsEbsProperties model)
-
-