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 theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 aNextTokenvalue that you can use in a subsequent call toListPolicyGrantsto 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 aNextTokenvalue that you can use in a subsequent call toListPolicyGrantsto 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
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListPolicyGrantsto list the next set of grants.- Parameters:
nextToken- When the number of grants is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListPolicyGrantsto 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-