@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 you're creating.
|
CreateOntapVolumeConfiguration |
getOntapConfiguration()
Specifies the
ONTAP configuration to use in creating the volume. |
List<Tag> |
getTags() |
String |
getVolumeType()
Specifies the type of volume to create;
ONTAP is the only valid volume type. |
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken) |
void |
setName(String name)
Specifies the name of the volume you're creating.
|
void |
setOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the
ONTAP configuration to use in creating the volume. |
void |
setTags(Collection<Tag> tags) |
void |
setVolumeType(String volumeType)
Specifies the type of volume to create;
ONTAP is the only valid volume type. |
String |
toString()
Returns a string representation of this object.
|
CreateVolumeRequest |
withClientRequestToken(String clientRequestToken) |
CreateVolumeRequest |
withName(String name)
Specifies the name of the volume you're creating.
|
CreateVolumeRequest |
withOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the
ONTAP configuration to use in creating the 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 is the only valid volume type. |
CreateVolumeRequest |
withVolumeType(VolumeType volumeType)
Specifies the type of volume to create;
ONTAP is the only valid volume type. |
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
is the only valid volume type.
volumeType
- Specifies the type of volume to create; ONTAP
is the only valid volume type.VolumeType
public String getVolumeType()
Specifies the type of volume to create; ONTAP
is the only valid volume type.
ONTAP
is the only valid volume type.VolumeType
public CreateVolumeRequest withVolumeType(String volumeType)
Specifies the type of volume to create; ONTAP
is the only valid volume type.
volumeType
- Specifies the type of volume to create; ONTAP
is the only valid volume type.VolumeType
public CreateVolumeRequest withVolumeType(VolumeType volumeType)
Specifies the type of volume to create; ONTAP
is the only valid volume type.
volumeType
- Specifies the type of volume to create; ONTAP
is the only valid volume type.VolumeType
public void setName(String name)
Specifies the name of the volume you're creating.
name
- Specifies the name of the volume you're creating.public String getName()
Specifies the name of the volume you're creating.
public CreateVolumeRequest withName(String name)
Specifies the name of the volume you're creating.
name
- Specifies the name of the volume you're creating.public void setOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the ONTAP
configuration to use in creating the volume.
ontapConfiguration
- Specifies the ONTAP
configuration to use in creating the volume.public CreateOntapVolumeConfiguration getOntapConfiguration()
Specifies the ONTAP
configuration to use in creating the volume.
ONTAP
configuration to use in creating the volume.public CreateVolumeRequest withOntapConfiguration(CreateOntapVolumeConfiguration ontapConfiguration)
Specifies the ONTAP
configuration to use in creating the volume.
ontapConfiguration
- Specifies the ONTAP
configuration to use in creating the 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 String toString()
toString
in class Object
Object.toString()
public CreateVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()