Interface ListPolicyGrantsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListPolicyGrantsRequest.Builder,
,ListPolicyGrantsRequest> DataZoneRequest.Builder
,SdkBuilder<ListPolicyGrantsRequest.Builder,
,ListPolicyGrantsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPolicyGrantsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondomainIdentifier
(String domainIdentifier) The ID of the domain where you want to list policy grants.entityIdentifier
(String entityIdentifier) The ID of the entity for which you want to list policy grants.entityType
(String entityType) The type of entity for which you want to list policy grants.entityType
(TargetEntityType entityType) The type of entity for which you want to list policy grants.maxResults
(Integer maxResults) The maximum number of grants to return in a single call toListPolicyGrants
.When the number of grants is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of grants, the response includes a pagination token namedNextToken
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyType
(String policyType) The type of policy that you want to list.policyType
(ManagedPolicyType policyType) The type of policy that you want to list.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainIdentifier
The ID of the domain where you want to list policy grants.
- Parameters:
domainIdentifier
- The ID of the domain where you want to list policy grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdentifier
The ID of the entity for which you want to list policy grants.
- Parameters:
entityIdentifier
- The ID of the entity for which you want to list policy grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of entity for which you want to list policy grants.
- Parameters:
entityType
- The type of entity for which you want to list policy grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The type of entity for which you want to list policy grants.
- Parameters:
entityType
- The type of entity for which you want to list policy grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of grants to return in a single call to
ListPolicyGrants
. When the number of grants to be listed is greater than the value ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call toListPolicyGrants
to list the next set of grants.- Parameters:
maxResults
- The maximum number of grants to return in a single call toListPolicyGrants
. When the number of grants to be listed is greater than the value ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call toListPolicyGrants
to list the next set of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When the number of grants is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of grants, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListPolicyGrants
to list the next set of grants.- Parameters:
nextToken
- When the number of grants is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of grants, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListPolicyGrants
to list the next set of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The type of policy that you want to list.
- Parameters:
policyType
- The type of policy that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of policy that you want to list.
- Parameters:
policyType
- The type of policy that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListPolicyGrantsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPolicyGrantsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-