@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken() |
String |
getName()
Specifies the name of the volume that you're creating.
|
CreateOntapVolumeConfiguration |
getOntapConfiguration()
Specifies the configuration to use when creating the ONTAP volume.
|
CreateOpenZFSVolumeConfiguration |
getOpenZFSConfiguration()
Specifies the configuration to use when creating the OpenZFS volume.
|
List<Tag> |
getTags() |
String |
getVolumeType()
Specifies the type of volume to create;
ONTAP and OPENZFS are the only valid volume
types. |
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken) |
void |
setName(String name)
Specifies the name of the volume that you're creating.
|
void |
setOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the configuration to use when creating the ONTAP volume.
|
void |
setOpenZFSConfiguration(CreateOpenZFSVolumeConfiguration openZFSConfiguration)
Specifies the configuration to use when creating the OpenZFS volume.
|
void |
setTags(Collection<Tag> tags) |
void |
setVolumeType(String volumeType)
Specifies the type of volume to create;
ONTAP and OPENZFS are the only valid volume
types. |
String |
toString()
Returns a string representation of this object.
|
CreateVolumeRequest |
withClientRequestToken(String clientRequestToken) |
CreateVolumeRequest |
withName(String name)
Specifies the name of the volume that you're creating.
|
CreateVolumeRequest |
withOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the configuration to use when creating the ONTAP volume.
|
CreateVolumeRequest |
withOpenZFSConfiguration(CreateOpenZFSVolumeConfiguration openZFSConfiguration)
Specifies the configuration to use when creating the OpenZFS volume.
|
CreateVolumeRequest |
withTags(Collection<Tag> tags) |
CreateVolumeRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CreateVolumeRequest |
withVolumeType(String volumeType)
Specifies the type of volume to create;
ONTAP and OPENZFS are the only valid volume
types. |
CreateVolumeRequest |
withVolumeType(VolumeType volumeType)
Specifies the type of volume to create;
ONTAP and OPENZFS are the only valid volume
types. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientRequestToken(String clientRequestToken)
clientRequestToken
- public String getClientRequestToken()
public CreateVolumeRequest withClientRequestToken(String clientRequestToken)
clientRequestToken
- public void setVolumeType(String volumeType)
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume
types.
volumeType
- Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid
volume types.VolumeType
public String getVolumeType()
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume
types.
ONTAP
and OPENZFS
are the only valid
volume types.VolumeType
public CreateVolumeRequest withVolumeType(String volumeType)
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume
types.
volumeType
- Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid
volume types.VolumeType
public CreateVolumeRequest withVolumeType(VolumeType volumeType)
Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid volume
types.
volumeType
- Specifies the type of volume to create; ONTAP
and OPENZFS
are the only valid
volume types.VolumeType
public void setName(String name)
Specifies the name of the volume that you're creating.
name
- Specifies the name of the volume that you're creating.public String getName()
Specifies the name of the volume that you're creating.
public CreateVolumeRequest withName(String name)
Specifies the name of the volume that you're creating.
name
- Specifies the name of the volume that you're creating.public void setOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the configuration to use when creating the ONTAP volume.
ontapConfiguration
- Specifies the configuration to use when creating the ONTAP volume.public CreateOntapVolumeConfiguration getOntapConfiguration()
Specifies the configuration to use when creating the ONTAP volume.
public CreateVolumeRequest withOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the configuration to use when creating the ONTAP volume.
ontapConfiguration
- Specifies the configuration to use when creating the ONTAP volume.public void setTags(Collection<Tag> tags)
tags
- public CreateVolumeRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public CreateVolumeRequest withTags(Collection<Tag> tags)
tags
- public void setOpenZFSConfiguration(CreateOpenZFSVolumeConfiguration openZFSConfiguration)
Specifies the configuration to use when creating the OpenZFS volume.
openZFSConfiguration
- Specifies the configuration to use when creating the OpenZFS volume.public CreateOpenZFSVolumeConfiguration getOpenZFSConfiguration()
Specifies the configuration to use when creating the OpenZFS volume.
public CreateVolumeRequest withOpenZFSConfiguration(CreateOpenZFSVolumeConfiguration openZFSConfiguration)
Specifies the configuration to use when creating the OpenZFS volume.
openZFSConfiguration
- Specifies the configuration to use when creating the OpenZFS volume.public String toString()
toString
in class Object
Object.toString()
public CreateVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.