com.amazonaws.services.opsworks.model
Class UpdateVolumeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.UpdateVolumeRequest
All Implemented Interfaces:
Serializable

public class UpdateVolumeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateVolume operation.

Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

See Also:
AWSOpsWorks.updateVolume(UpdateVolumeRequest), Serialized Form

Constructor Summary
UpdateVolumeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMountPoint()
          The new mount point.
 String getName()
          The new name.
 String getVolumeId()
          The volume ID.
 int hashCode()
           
 void setMountPoint(String mountPoint)
          The new mount point.
 void setName(String name)
          The new name.
 void setVolumeId(String volumeId)
          The volume ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateVolumeRequest withMountPoint(String mountPoint)
          The new mount point.
 UpdateVolumeRequest withName(String name)
          The new name.
 UpdateVolumeRequest withVolumeId(String volumeId)
          The volume ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateVolumeRequest

public UpdateVolumeRequest()
Method Detail

getVolumeId

public String getVolumeId()
The volume ID.

Returns:
The volume ID.

setVolumeId

public void setVolumeId(String volumeId)
The volume ID.

Parameters:
volumeId - The volume ID.

withVolumeId

public UpdateVolumeRequest withVolumeId(String volumeId)
The volume ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeId - The volume ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The new name.

Returns:
The new name.

setName

public void setName(String name)
The new name.

Parameters:
name - The new name.

withName

public UpdateVolumeRequest withName(String name)
The new name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The new name.
Returns:
A reference to this updated object so that method calls can be chained together.

getMountPoint

public String getMountPoint()
The new mount point.

Returns:
The new mount point.

setMountPoint

public void setMountPoint(String mountPoint)
The new mount point.

Parameters:
mountPoint - The new mount point.

withMountPoint

public UpdateVolumeRequest withMountPoint(String mountPoint)
The new mount point.

Returns a reference to this object so that method calls can be chained together.

Parameters:
mountPoint - The new mount point.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.