@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, setSdkResponseMetadatapublic 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.ShareStatuspublic String getStatus()
The status of a share.
ShareStatuspublic CreateShareResult withStatus(String status)
The status of a share.
status - The status of a share.ShareStatuspublic CreateShareResult withStatus(ShareStatus status)
The status of a share.
status - The status of a share.ShareStatuspublic 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 ObjectObject.toString()public CreateShareResult clone()
Copyright © 2024. All rights reserved.