@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateShareResult() |
Modifier and Type | Method and Description |
---|---|
CreateShareResult |
clone() |
boolean |
equals(Object obj) |
String |
getShareId()
An ID generated for the share.
|
String |
getShareName()
A name given to the share.
|
String |
getStatus()
The status of a share.
|
int |
hashCode() |
void |
setShareId(String shareId)
An ID generated for the share.
|
void |
setShareName(String shareName)
A name given to the share.
|
void |
setStatus(String status)
The status of a share.
|
String |
toString()
Returns a string representation of this object.
|
CreateShareResult |
withShareId(String shareId)
An ID generated for the share.
|
CreateShareResult |
withShareName(String shareName)
A name given to the share.
|
CreateShareResult |
withStatus(ShareStatus status)
The status of a share.
|
CreateShareResult |
withStatus(String status)
The status of a share.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setShareId(String shareId)
An ID generated for the share.
shareId
- An ID generated for the share.public String getShareId()
An ID generated for the share.
public CreateShareResult withShareId(String shareId)
An ID generated for the share.
shareId
- An ID generated for the share.public void setStatus(String status)
The status of a share.
status
- The status of a share.ShareStatus
public String getStatus()
The status of a share.
ShareStatus
public CreateShareResult withStatus(String status)
The status of a share.
status
- The status of a share.ShareStatus
public CreateShareResult withStatus(ShareStatus status)
The status of a share.
status
- The status of a share.ShareStatus
public void setShareName(String shareName)
A name given to the share.
shareName
- A name given to the share.public String getShareName()
A name given to the share.
public CreateShareResult withShareName(String shareName)
A name given to the share.
shareName
- A name given to the share.public String toString()
toString
in class Object
Object.toString()
public CreateShareResult clone()