All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.elasticfilesystem.model.CreateFileSystemResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Elastic File System module holds the client classes that are used for communicating with Amazon Elastic File System

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.elasticfilesystem.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 

* A description of the file system. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateFileSystemResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The 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. *

*/ private String ownerId; /** *

* The opaque string specified in the request. *

*/ private String creationToken; /** *

* The ID of the file system, assigned by Amazon EFS. *

*/ private String fileSystemId; /** *

* The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 *

*/ private String fileSystemArn; /** *

* The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). *

*/ private java.util.Date creationTime; /** *

* The lifecycle phase of the file system. *

*/ private String lifeCycleState; /** *

* You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in this * field. *

*/ private String name; /** *

* The current number of mount targets that the file system has. For more information, see CreateMountTarget. *

*/ private Integer numberOfMountTargets; /** *

* The 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. *

*/ private FileSystemSize sizeInBytes; /** *

* The performance mode of the file system. *

*/ private String performanceMode; /** *

* A Boolean value that, if true, indicates that the file system is encrypted. *

*/ private Boolean encrypted; /** *

* The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. *

*/ private String kmsKeyId; /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

*/ private String throughputMode; /** *

* The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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. *

*/ private Double provisionedThroughputInMibps; /** *

* The tags associated with the file system, presented as an array of Tag objects. *

*/ private com.amazonaws.internal.SdkInternalList tags; /** *

* The 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. *

* * @param ownerId * The 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 void setOwnerId(String ownerId) { this.ownerId = ownerId; } /** *

* The 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. *

* * @return The 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 getOwnerId() { return this.ownerId; } /** *

* The 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. *

* * @param ownerId * The 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withOwnerId(String ownerId) { setOwnerId(ownerId); return this; } /** *

* The opaque string specified in the request. *

* * @param creationToken * The opaque string specified in the request. */ public void setCreationToken(String creationToken) { this.creationToken = creationToken; } /** *

* The opaque string specified in the request. *

* * @return The opaque string specified in the request. */ public String getCreationToken() { return this.creationToken; } /** *

* The opaque string specified in the request. *

* * @param creationToken * The opaque string specified in the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withCreationToken(String creationToken) { setCreationToken(creationToken); return this; } /** *

* The ID of the file system, assigned by Amazon EFS. *

* * @param fileSystemId * The ID of the file system, assigned by Amazon EFS. */ public void setFileSystemId(String fileSystemId) { this.fileSystemId = fileSystemId; } /** *

* The ID of the file system, assigned by Amazon EFS. *

* * @return The ID of the file system, assigned by Amazon EFS. */ public String getFileSystemId() { return this.fileSystemId; } /** *

* The ID of the file system, assigned by Amazon EFS. *

* * @param fileSystemId * The ID of the file system, assigned by Amazon EFS. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withFileSystemId(String fileSystemId) { setFileSystemId(fileSystemId); return this; } /** *

* The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 *

* * @param fileSystemArn * The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 */ public void setFileSystemArn(String fileSystemArn) { this.fileSystemArn = fileSystemArn; } /** *

* The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 *

* * @return The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id * . Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 */ public String getFileSystemArn() { return this.fileSystemArn; } /** *

* The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 *

* * @param fileSystemArn * The Amazon Resource Name (ARN) for the EFS file system, in the format * arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id . * Example with sample data: * arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567 * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withFileSystemArn(String fileSystemArn) { setFileSystemArn(fileSystemArn); return this; } /** *

* The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). *

* * @param creationTime * The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). *

* * @return The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). *

* * @param creationTime * The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* The lifecycle phase of the file system. *

* * @param lifeCycleState * The lifecycle phase of the file system. * @see LifeCycleState */ public void setLifeCycleState(String lifeCycleState) { this.lifeCycleState = lifeCycleState; } /** *

* The lifecycle phase of the file system. *

* * @return The lifecycle phase of the file system. * @see LifeCycleState */ public String getLifeCycleState() { return this.lifeCycleState; } /** *

* The lifecycle phase of the file system. *

* * @param lifeCycleState * The lifecycle phase of the file system. * @return Returns a reference to this object so that method calls can be chained together. * @see LifeCycleState */ public CreateFileSystemResult withLifeCycleState(String lifeCycleState) { setLifeCycleState(lifeCycleState); return this; } /** *

* The lifecycle phase of the file system. *

* * @param lifeCycleState * The lifecycle phase of the file system. * @see LifeCycleState */ public void setLifeCycleState(LifeCycleState lifeCycleState) { withLifeCycleState(lifeCycleState); } /** *

* The lifecycle phase of the file system. *

* * @param lifeCycleState * The lifecycle phase of the file system. * @return Returns a reference to this object so that method calls can be chained together. * @see LifeCycleState */ public CreateFileSystemResult withLifeCycleState(LifeCycleState lifeCycleState) { this.lifeCycleState = lifeCycleState.toString(); return this; } /** *

* You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in this * field. *

* * @param name * You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in * this field. */ public void setName(String name) { this.name = name; } /** *

* You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in this * field. *

* * @return You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in * this field. */ public String getName() { return this.name; } /** *

* You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in this * field. *

* * @param name * You can add tags to a file system, including a Name tag. For more information, see * CreateFileSystem. If the file system has a Name tag, Amazon EFS returns the value in * this field. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withName(String name) { setName(name); return this; } /** *

* The current number of mount targets that the file system has. For more information, see CreateMountTarget. *

* * @param numberOfMountTargets * The current number of mount targets that the file system has. For more information, see * CreateMountTarget. */ public void setNumberOfMountTargets(Integer numberOfMountTargets) { this.numberOfMountTargets = numberOfMountTargets; } /** *

* The current number of mount targets that the file system has. For more information, see CreateMountTarget. *

* * @return The current number of mount targets that the file system has. For more information, see * CreateMountTarget. */ public Integer getNumberOfMountTargets() { return this.numberOfMountTargets; } /** *

* The current number of mount targets that the file system has. For more information, see CreateMountTarget. *

* * @param numberOfMountTargets * The current number of mount targets that the file system has. For more information, see * CreateMountTarget. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withNumberOfMountTargets(Integer numberOfMountTargets) { setNumberOfMountTargets(numberOfMountTargets); return this; } /** *

* The 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. *

* * @param sizeInBytes * The 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. */ public void setSizeInBytes(FileSystemSize sizeInBytes) { this.sizeInBytes = sizeInBytes; } /** *

* The 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. *

* * @return The 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. */ public FileSystemSize getSizeInBytes() { return this.sizeInBytes; } /** *

* The 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. *

* * @param sizeInBytes * The 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withSizeInBytes(FileSystemSize sizeInBytes) { setSizeInBytes(sizeInBytes); return this; } /** *

* The performance mode of the file system. *

* * @param performanceMode * The performance mode of the file system. * @see PerformanceMode */ public void setPerformanceMode(String performanceMode) { this.performanceMode = performanceMode; } /** *

* The performance mode of the file system. *

* * @return The performance mode of the file system. * @see PerformanceMode */ public String getPerformanceMode() { return this.performanceMode; } /** *

* The performance mode of the file system. *

* * @param performanceMode * The performance mode of the file system. * @return Returns a reference to this object so that method calls can be chained together. * @see PerformanceMode */ public CreateFileSystemResult withPerformanceMode(String performanceMode) { setPerformanceMode(performanceMode); return this; } /** *

* The performance mode of the file system. *

* * @param performanceMode * The performance mode of the file system. * @see PerformanceMode */ public void setPerformanceMode(PerformanceMode performanceMode) { withPerformanceMode(performanceMode); } /** *

* The performance mode of the file system. *

* * @param performanceMode * The performance mode of the file system. * @return Returns a reference to this object so that method calls can be chained together. * @see PerformanceMode */ public CreateFileSystemResult withPerformanceMode(PerformanceMode performanceMode) { this.performanceMode = performanceMode.toString(); return this; } /** *

* A Boolean value that, if true, indicates that the file system is encrypted. *

* * @param encrypted * A Boolean value that, if true, indicates that the file system is encrypted. */ public void setEncrypted(Boolean encrypted) { this.encrypted = encrypted; } /** *

* A Boolean value that, if true, indicates that the file system is encrypted. *

* * @return A Boolean value that, if true, indicates that the file system is encrypted. */ public Boolean getEncrypted() { return this.encrypted; } /** *

* A Boolean value that, if true, indicates that the file system is encrypted. *

* * @param encrypted * A Boolean value that, if true, indicates that the file system is encrypted. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withEncrypted(Boolean encrypted) { setEncrypted(encrypted); return this; } /** *

* A Boolean value that, if true, indicates that the file system is encrypted. *

* * @return A Boolean value that, if true, indicates that the file system is encrypted. */ public Boolean isEncrypted() { return this.encrypted; } /** *

* The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. *

* * @param 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 void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** *

* The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. *

* * @return The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. */ public String getKmsKeyId() { return this.kmsKeyId; } /** *

* The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. *

* * @param kmsKeyId * The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the * encrypted file system. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

* * @param throughputMode * The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. * @see ThroughputMode */ public void setThroughputMode(String throughputMode) { this.throughputMode = throughputMode; } /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

* * @return The throughput mode for a file system. There are two throughput modes to choose from for your file * system: bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. * @see ThroughputMode */ public String getThroughputMode() { return this.throughputMode; } /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

* * @param throughputMode * The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. * @return Returns a reference to this object so that method calls can be chained together. * @see ThroughputMode */ public CreateFileSystemResult withThroughputMode(String throughputMode) { setThroughputMode(throughputMode); return this; } /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

* * @param throughputMode * The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. * @see ThroughputMode */ public void setThroughputMode(ThroughputMode throughputMode) { withThroughputMode(throughputMode); } /** *

* The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. *

* * @param throughputMode * The throughput mode for a file system. There are two throughput modes to choose from for your file system: * bursting and provisioned. If you set ThroughputMode to * provisioned, you must also set a value for ProvisionedThroughPutInMibps. 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. * @return Returns a reference to this object so that method calls can be chained together. * @see ThroughputMode */ public CreateFileSystemResult withThroughputMode(ThroughputMode throughputMode) { this.throughputMode = throughputMode.toString(); return this; } /** *

* The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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. *

* * @param provisionedThroughputInMibps * The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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 void setProvisionedThroughputInMibps(Double provisionedThroughputInMibps) { this.provisionedThroughputInMibps = provisionedThroughputInMibps; } /** *

* The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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. *

* * @return The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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 Double getProvisionedThroughputInMibps() { return this.provisionedThroughputInMibps; } /** *

* The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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. *

* * @param provisionedThroughputInMibps * The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. * Required if ThroughputMode is set to provisioned. 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withProvisionedThroughputInMibps(Double provisionedThroughputInMibps) { setProvisionedThroughputInMibps(provisionedThroughputInMibps); return this; } /** *

* The tags associated with the file system, presented as an array of Tag objects. *

* * @return The tags associated with the file system, presented as an array of Tag objects. */ public java.util.List getTags() { if (tags == null) { tags = new com.amazonaws.internal.SdkInternalList(); } return tags; } /** *

* The tags associated with the file system, presented as an array of Tag objects. *

* * @param tags * The tags associated with the file system, presented as an array of Tag objects. */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new com.amazonaws.internal.SdkInternalList(tags); } /** *

* The tags associated with the file system, presented as an array of Tag objects. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *

* * @param tags * The tags associated with the file system, presented as an array of Tag objects. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** *

* The tags associated with the file system, presented as an array of Tag objects. *

* * @param tags * The tags associated with the file system, presented as an array of Tag objects. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemResult withTags(java.util.Collection tags) { setTags(tags); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getOwnerId() != null) sb.append("OwnerId: ").append(getOwnerId()).append(","); if (getCreationToken() != null) sb.append("CreationToken: ").append(getCreationToken()).append(","); if (getFileSystemId() != null) sb.append("FileSystemId: ").append(getFileSystemId()).append(","); if (getFileSystemArn() != null) sb.append("FileSystemArn: ").append(getFileSystemArn()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLifeCycleState() != null) sb.append("LifeCycleState: ").append(getLifeCycleState()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getNumberOfMountTargets() != null) sb.append("NumberOfMountTargets: ").append(getNumberOfMountTargets()).append(","); if (getSizeInBytes() != null) sb.append("SizeInBytes: ").append(getSizeInBytes()).append(","); if (getPerformanceMode() != null) sb.append("PerformanceMode: ").append(getPerformanceMode()).append(","); if (getEncrypted() != null) sb.append("Encrypted: ").append(getEncrypted()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).append(","); if (getThroughputMode() != null) sb.append("ThroughputMode: ").append(getThroughputMode()).append(","); if (getProvisionedThroughputInMibps() != null) sb.append("ProvisionedThroughputInMibps: ").append(getProvisionedThroughputInMibps()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateFileSystemResult == false) return false; CreateFileSystemResult other = (CreateFileSystemResult) obj; if (other.getOwnerId() == null ^ this.getOwnerId() == null) return false; if (other.getOwnerId() != null && other.getOwnerId().equals(this.getOwnerId()) == false) return false; if (other.getCreationToken() == null ^ this.getCreationToken() == null) return false; if (other.getCreationToken() != null && other.getCreationToken().equals(this.getCreationToken()) == false) return false; if (other.getFileSystemId() == null ^ this.getFileSystemId() == null) return false; if (other.getFileSystemId() != null && other.getFileSystemId().equals(this.getFileSystemId()) == false) return false; if (other.getFileSystemArn() == null ^ this.getFileSystemArn() == null) return false; if (other.getFileSystemArn() != null && other.getFileSystemArn().equals(this.getFileSystemArn()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLifeCycleState() == null ^ this.getLifeCycleState() == null) return false; if (other.getLifeCycleState() != null && other.getLifeCycleState().equals(this.getLifeCycleState()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getNumberOfMountTargets() == null ^ this.getNumberOfMountTargets() == null) return false; if (other.getNumberOfMountTargets() != null && other.getNumberOfMountTargets().equals(this.getNumberOfMountTargets()) == false) return false; if (other.getSizeInBytes() == null ^ this.getSizeInBytes() == null) return false; if (other.getSizeInBytes() != null && other.getSizeInBytes().equals(this.getSizeInBytes()) == false) return false; if (other.getPerformanceMode() == null ^ this.getPerformanceMode() == null) return false; if (other.getPerformanceMode() != null && other.getPerformanceMode().equals(this.getPerformanceMode()) == false) return false; if (other.getEncrypted() == null ^ this.getEncrypted() == null) return false; if (other.getEncrypted() != null && other.getEncrypted().equals(this.getEncrypted()) == false) return false; if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; if (other.getThroughputMode() == null ^ this.getThroughputMode() == null) return false; if (other.getThroughputMode() != null && other.getThroughputMode().equals(this.getThroughputMode()) == false) return false; if (other.getProvisionedThroughputInMibps() == null ^ this.getProvisionedThroughputInMibps() == null) return false; if (other.getProvisionedThroughputInMibps() != null && other.getProvisionedThroughputInMibps().equals(this.getProvisionedThroughputInMibps()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOwnerId() == null) ? 0 : getOwnerId().hashCode()); hashCode = prime * hashCode + ((getCreationToken() == null) ? 0 : getCreationToken().hashCode()); hashCode = prime * hashCode + ((getFileSystemId() == null) ? 0 : getFileSystemId().hashCode()); hashCode = prime * hashCode + ((getFileSystemArn() == null) ? 0 : getFileSystemArn().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLifeCycleState() == null) ? 0 : getLifeCycleState().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getNumberOfMountTargets() == null) ? 0 : getNumberOfMountTargets().hashCode()); hashCode = prime * hashCode + ((getSizeInBytes() == null) ? 0 : getSizeInBytes().hashCode()); hashCode = prime * hashCode + ((getPerformanceMode() == null) ? 0 : getPerformanceMode().hashCode()); hashCode = prime * hashCode + ((getEncrypted() == null) ? 0 : getEncrypted().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getThroughputMode() == null) ? 0 : getThroughputMode().hashCode()); hashCode = prime * hashCode + ((getProvisionedThroughputInMibps() == null) ? 0 : getProvisionedThroughputInMibps().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @Override public CreateFileSystemResult clone() { try { return (CreateFileSystemResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy