@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateShareRequest() |
Modifier and Type | Method and Description |
---|---|
CreateShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPrincipalSubscriber()
The principal subscriber is the account being offered shared access to the resource.
|
String |
getResourceArn()
The ARN of the resource to be shared.
|
String |
getShareName()
A name that the owner defines for the share.
|
int |
hashCode() |
void |
setPrincipalSubscriber(String principalSubscriber)
The principal subscriber is the account being offered shared access to the resource.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource to be shared.
|
void |
setShareName(String shareName)
A name that the owner defines for the share.
|
String |
toString()
Returns a string representation of this object.
|
CreateShareRequest |
withPrincipalSubscriber(String principalSubscriber)
The principal subscriber is the account being offered shared access to the resource.
|
CreateShareRequest |
withResourceArn(String resourceArn)
The ARN of the resource to be shared.
|
CreateShareRequest |
withShareName(String shareName)
A name that the owner defines for the share.
|
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 setResourceArn(String resourceArn)
The ARN of the resource to be shared.
resourceArn
- The ARN of the resource to be shared.public String getResourceArn()
The ARN of the resource to be shared.
public CreateShareRequest withResourceArn(String resourceArn)
The ARN of the resource to be shared.
resourceArn
- The ARN of the resource to be shared.public void setPrincipalSubscriber(String principalSubscriber)
The principal subscriber is the account being offered shared access to the resource.
principalSubscriber
- The principal subscriber is the account being offered shared access to the resource.public String getPrincipalSubscriber()
The principal subscriber is the account being offered shared access to the resource.
public CreateShareRequest withPrincipalSubscriber(String principalSubscriber)
The principal subscriber is the account being offered shared access to the resource.
principalSubscriber
- The principal subscriber is the account being offered shared access to the resource.public void setShareName(String shareName)
A name that the owner defines for the share.
shareName
- A name that the owner defines for the share.public String getShareName()
A name that the owner defines for the share.
public CreateShareRequest withShareName(String shareName)
A name that the owner defines for the share.
shareName
- A name that the owner defines for the share.public String toString()
toString
in class Object
Object.toString()
public CreateShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()