@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMembershipRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMembershipRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateMembershipRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateMembershipRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCollaborationIdentifier()
The unique ID for the associated collaboration.
|
String |
getQueryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
Map<String,String> |
getTags()
An optional label that you can assign to a resource when you create it.
|
int |
hashCode() |
void |
setCollaborationIdentifier(String collaborationIdentifier)
The unique ID for the associated collaboration.
|
void |
setQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
void |
setTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it.
|
String |
toString()
Returns a string representation of this object.
|
CreateMembershipRequest |
withCollaborationIdentifier(String collaborationIdentifier)
The unique ID for the associated collaboration.
|
CreateMembershipRequest |
withQueryLogStatus(MembershipQueryLogStatus queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
CreateMembershipRequest |
withQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
CreateMembershipRequest |
withTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it.
|
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 setCollaborationIdentifier(String collaborationIdentifier)
The unique ID for the associated collaboration.
collaborationIdentifier
- The unique ID for the associated collaboration.public String getCollaborationIdentifier()
The unique ID for the associated collaboration.
public CreateMembershipRequest withCollaborationIdentifier(String collaborationIdentifier)
The unique ID for the associated collaboration.
collaborationIdentifier
- The unique ID for the associated collaboration.public void setQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the collaboration.MembershipQueryLogStatus
public String getQueryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
MembershipQueryLogStatus
public CreateMembershipRequest withQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the collaboration.MembershipQueryLogStatus
public CreateMembershipRequest withQueryLogStatus(MembershipQueryLogStatus queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the collaboration.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the collaboration.MembershipQueryLogStatus
public Map<String,String> getTags()
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
public void setTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
tags
- An optional label that you can assign to a resource when you create it. Each tag consists of a key and an
optional value, both of which you define. When you use tagging, you can also use tag-based access control
in IAM policies to control access to this resource.public CreateMembershipRequest withTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
tags
- An optional label that you can assign to a resource when you create it. Each tag consists of a key and an
optional value, both of which you define. When you use tagging, you can also use tag-based access control
in IAM policies to control access to this resource.public CreateMembershipRequest addTagsEntry(String key, String value)
public CreateMembershipRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()