@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrincipalsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPrincipalsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPrincipalsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getPrincipals()
The principals.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getResourceOwner()
The type of owner.
|
List<String> |
getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setPrincipals(Collection<String> principals)
The principals.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setResourceOwner(String resourceOwner)
The type of owner.
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
ListPrincipalsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListPrincipalsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
ListPrincipalsRequest |
withPrincipals(Collection<String> principals)
The principals.
|
ListPrincipalsRequest |
withPrincipals(String... principals)
The principals.
|
ListPrincipalsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
ListPrincipalsRequest |
withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
|
ListPrincipalsRequest |
withResourceOwner(String resourceOwner)
The type of owner.
|
ListPrincipalsRequest |
withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListPrincipalsRequest |
withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListPrincipalsRequest |
withResourceType(String resourceType)
The resource type.
|
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 setResourceOwner(String resourceOwner)
The type of owner.
resourceOwner
- The type of owner.ResourceOwner
public String getResourceOwner()
The type of owner.
ResourceOwner
public ListPrincipalsRequest withResourceOwner(String resourceOwner)
The type of owner.
resourceOwner
- The type of owner.ResourceOwner
public ListPrincipalsRequest withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
resourceOwner
- The type of owner.ResourceOwner
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public ListPrincipalsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public void setPrincipals(Collection<String> principals)
The principals.
principals
- The principals.public ListPrincipalsRequest withPrincipals(String... principals)
The principals.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection)
or withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- The principals.public ListPrincipalsRequest withPrincipals(Collection<String> principals)
The principals.
principals
- The principals.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public String getResourceType()
The resource type.
public ListPrincipalsRequest withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public List<String> getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
public void setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns
- The Amazon Resource Names (ARN) of the resource shares.public ListPrincipalsRequest withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShareArns(java.util.Collection)
or withResourceShareArns(java.util.Collection)
if
you want to override the existing values.
resourceShareArns
- The Amazon Resource Names (ARN) of the resource shares.public ListPrincipalsRequest withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns
- The Amazon Resource Names (ARN) of the resource shares.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListPrincipalsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public ListPrincipalsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public String toString()
toString
in class Object
Object.toString()
public ListPrincipalsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.