@Generated(value="software.amazon.awssdk:codegen") public class CreateFileSystemResponse extends EFSResponse implements ToCopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>
Description of the file system.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateFileSystemResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateFileSystemResponse.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 |
lifeCycleStateString()
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 |
performanceModeString()
The
PerformanceMode of the file system. |
static Class<? extends CreateFileSystemResponse.Builder> |
serializableBuilderClass() |
FileSystemSize |
sizeInBytes()
Latest known metered size (in bytes) of data stored in the file system, in bytes, in its
Value
field, and the time at which that size was determined in its Timestamp field. |
CreateFileSystemResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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 lifeCycleStateString()
.
LifeCycleState
public String lifeCycleStateString()
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 lifeCycleStateString()
.
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 bytes, 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. Note that the value
does not 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, the value will represent 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 the file
system was at any instant 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. Note
that the value does not 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, the value will represent
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 the file system was at any instant 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 performanceModeString()
.
PerformanceMode
of the file system.PerformanceMode
public String performanceModeString()
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 performanceModeString()
.
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 CreateFileSystemResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>
toBuilder
in class AwsResponse
public static CreateFileSystemResponse.Builder builder()
public static Class<? extends CreateFileSystemResponse.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.