@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFileSystemResponse extends EfsResponse implements ToCopyableBuilder<UpdateFileSystemResponse.Builder,UpdateFileSystemResponse>
Description of the file system.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateFileSystemResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateFileSystemResponse.Builder |
builder() |
Instant |
creationTime()
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
String |
creationToken()
Opaque string specified in the request.
|
Boolean |
encrypted()
A Boolean value that, if true, indicates that the file system is encrypted.
|
boolean |
equals(Object obj) |
String |
fileSystemId()
ID of the file system, assigned by Amazon EFS.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
kmsKeyId()
The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.
|
LifeCycleState |
lifeCycleState()
Lifecycle phase of the file system.
|
String |
lifeCycleStateAsString()
Lifecycle phase of the file system.
|
String |
name()
You can add tags to a file system, including a
Name tag. |
Integer |
numberOfMountTargets()
Current number of mount targets that the file system has.
|
String |
ownerId()
AWS account that created the file system.
|
PerformanceMode |
performanceMode()
The
PerformanceMode of the file system. |
String |
performanceModeAsString()
The
PerformanceMode of the file system. |
Double |
provisionedThroughputInMibps()
The throughput, measured in MiB/s, that you want to provision for a file system.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFileSystemResponse.Builder> |
serializableBuilderClass() |
FileSystemSize |
sizeInBytes()
Latest known metered size (in bytes) of data stored in the file system, in its
Value field, and the
time at which that size was determined in its Timestamp field. |
ThroughputMode |
throughputMode()
The throughput mode for a file system.
|
String |
throughputModeAsString()
The throughput mode for a file system.
|
UpdateFileSystemResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public String ownerId()
AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.
public String creationToken()
Opaque string specified in the request.
public String fileSystemId()
ID of the file system, assigned by Amazon EFS.
public Instant creationTime()
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
public LifeCycleState lifeCycleState()
Lifecycle phase of the file system.
If the service returns an enum value that is not available in the current SDK version, lifeCycleState
will return LifeCycleState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from lifeCycleStateAsString()
.
LifeCycleState
public String lifeCycleStateAsString()
Lifecycle phase of the file system.
If the service returns an enum value that is not available in the current SDK version, lifeCycleState
will return LifeCycleState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from lifeCycleStateAsString()
.
LifeCycleState
public String name()
You can add tags to a file system, including a Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this field.
Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this
field.public Integer numberOfMountTargets()
Current number of mount targets that the file system has. For more information, see CreateMountTarget.
public FileSystemSize sizeInBytes()
Latest known metered size (in bytes) of data stored in the file system, in its Value
field, and the
time at which that size was determined in its Timestamp
field. The Timestamp
value is
the integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes
value doesn't represent
the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to
the file system. That is, SizeInBytes
represents actual size only if the file system is not modified
for a period longer than a couple of hours. Otherwise, the value is not the exact size that the file system was
at any point in time.
Value
field,
and the time at which that size was determined in its Timestamp
field. The
Timestamp
value is the integer number of seconds since 1970-01-01T00:00:00Z. The
SizeInBytes
value doesn't represent the size of a consistent snapshot of the file system,
but it is eventually consistent when there are no writes to the file system. That is,
SizeInBytes
represents actual size only if the file system is not modified for a period
longer than a couple of hours. Otherwise, the value is not the exact size that the file system was at any
point in time.public PerformanceMode performanceMode()
The PerformanceMode
of the file system.
If the service returns an enum value that is not available in the current SDK version, performanceMode
will return PerformanceMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from performanceModeAsString()
.
PerformanceMode
of the file system.PerformanceMode
public String performanceModeAsString()
The PerformanceMode
of the file system.
If the service returns an enum value that is not available in the current SDK version, performanceMode
will return PerformanceMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from performanceModeAsString()
.
PerformanceMode
of the file system.PerformanceMode
public Boolean encrypted()
A Boolean value that, if true, indicates that the file system is encrypted.
public String kmsKeyId()
The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system.
public ThroughputMode throughputMode()
The throughput mode for a file system. There are two throughput modes to choose from for your file system: bursting and provisioned. You can decrease your file system's throughput in Provisioned Throughput mode or change between the throughput modes as long as it’s been more than 24 hours since the last decrease or throughput mode change.
If the service returns an enum value that is not available in the current SDK version, throughputMode
will return ThroughputMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from throughputModeAsString()
.
ThroughputMode
public String throughputModeAsString()
The throughput mode for a file system. There are two throughput modes to choose from for your file system: bursting and provisioned. You can decrease your file system's throughput in Provisioned Throughput mode or change between the throughput modes as long as it’s been more than 24 hours since the last decrease or throughput mode change.
If the service returns an enum value that is not available in the current SDK version, throughputMode
will return ThroughputMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from throughputModeAsString()
.
ThroughputMode
public Double provisionedThroughputInMibps()
The throughput, measured in MiB/s, that you want to provision for a file system. The limit on throughput is 1024 MiB/s. You can get these limits increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide.
public UpdateFileSystemResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateFileSystemResponse.Builder,UpdateFileSystemResponse>
toBuilder
in class AwsResponse
public static UpdateFileSystemResponse.Builder builder()
public static Class<? extends UpdateFileSystemResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.