@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() |
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, copyBaseTo, 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, withSdkRequestTimeoutpublic void setResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic String getResourceOwner()
The type of owner.
ResourceOwnerpublic ListPrincipalsRequest withResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic ListPrincipalsRequest withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic 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.
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation |
ec2:DedicatedHost | ec2:LocalGatewayRouteTable | ec2:PrefixList |
ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe |
imagebuilder:ContainerRecipe | glue:Catalog | glue:Database |
glue:Table | license-manager:LicenseConfiguration I
network-firewall:FirewallPolicy | network-firewall:StatefulRuleGroup |
network-firewall:StatelessRuleGroup | outposts:Outpost |
resource-groups:Group | rds:Cluster | route53resolver:FirewallRuleGroup |
route53resolver:ResolverQueryLogConfig | route53resolver:ResolverRule
resourceType - The resource type.
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation
| ec2:DedicatedHost | ec2:LocalGatewayRouteTable | ec2:PrefixList |
ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image |
imagebuilder:ImageRecipe | imagebuilder:ContainerRecipe |
glue:Catalog | glue:Database | glue:Table |
license-manager:LicenseConfiguration I network-firewall:FirewallPolicy |
network-firewall:StatefulRuleGroup | network-firewall:StatelessRuleGroup |
outposts:Outpost | resource-groups:Group | rds:Cluster |
route53resolver:FirewallRuleGroup |route53resolver:ResolverQueryLogConfig |
route53resolver:ResolverRule
public String getResourceType()
The resource type.
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation |
ec2:DedicatedHost | ec2:LocalGatewayRouteTable | ec2:PrefixList |
ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe |
imagebuilder:ContainerRecipe | glue:Catalog | glue:Database |
glue:Table | license-manager:LicenseConfiguration I
network-firewall:FirewallPolicy | network-firewall:StatefulRuleGroup |
network-firewall:StatelessRuleGroup | outposts:Outpost |
resource-groups:Group | rds:Cluster | route53resolver:FirewallRuleGroup |
route53resolver:ResolverQueryLogConfig | route53resolver:ResolverRule
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup |
ec2:CapacityReservation | ec2:DedicatedHost |
ec2:LocalGatewayRouteTable | ec2:PrefixList | ec2:Subnet |
ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image |
imagebuilder:ImageRecipe | imagebuilder:ContainerRecipe |
glue:Catalog | glue:Database | glue:Table |
license-manager:LicenseConfiguration I network-firewall:FirewallPolicy |
network-firewall:StatefulRuleGroup | network-firewall:StatelessRuleGroup |
outposts:Outpost | resource-groups:Group | rds:Cluster |
route53resolver:FirewallRuleGroup |route53resolver:ResolverQueryLogConfig |
route53resolver:ResolverRule
public ListPrincipalsRequest withResourceType(String resourceType)
The resource type.
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation |
ec2:DedicatedHost | ec2:LocalGatewayRouteTable | ec2:PrefixList |
ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe |
imagebuilder:ContainerRecipe | glue:Catalog | glue:Database |
glue:Table | license-manager:LicenseConfiguration I
network-firewall:FirewallPolicy | network-firewall:StatefulRuleGroup |
network-firewall:StatelessRuleGroup | outposts:Outpost |
resource-groups:Group | rds:Cluster | route53resolver:FirewallRuleGroup |
route53resolver:ResolverQueryLogConfig | route53resolver:ResolverRule
resourceType - The resource type.
Valid values: acm-pca:CertificateAuthority | appmesh:Mesh |
codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation
| ec2:DedicatedHost | ec2:LocalGatewayRouteTable | ec2:PrefixList |
ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway |
imagebuilder:Component | imagebuilder:Image |
imagebuilder:ImageRecipe | imagebuilder:ContainerRecipe |
glue:Catalog | glue:Database | glue:Table |
license-manager:LicenseConfiguration I network-firewall:FirewallPolicy |
network-firewall:StatefulRuleGroup | network-firewall:StatelessRuleGroup |
outposts:Outpost | resource-groups:Group | rds:Cluster |
route53resolver:FirewallRuleGroup |route53resolver:ResolverQueryLogConfig |
route53resolver:ResolverRule
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 ObjectObject.toString()public ListPrincipalsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.