Interface ListPolicyGrantsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>,DataZoneRequest.Builder,SdkBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPolicyGrantsRequest
public static interface ListPolicyGrantsRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPolicyGrantsRequest.BuilderdomainIdentifier(String domainIdentifier)The ID of the domain where you want to list policy grants.ListPolicyGrantsRequest.BuilderentityIdentifier(String entityIdentifier)The ID of the entity for which you want to list policy grants.ListPolicyGrantsRequest.BuilderentityType(String entityType)The type of entity for which you want to list policy grants.ListPolicyGrantsRequest.BuilderentityType(TargetEntityType entityType)The type of entity for which you want to list policy grants.ListPolicyGrantsRequest.BuildermaxResults(Integer maxResults)The maximum number of grants to return in a single call toListPolicyGrants.ListPolicyGrantsRequest.BuildernextToken(String 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.ListPolicyGrantsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPolicyGrantsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPolicyGrantsRequest.BuilderpolicyType(String policyType)The type of policy that you want to list.ListPolicyGrantsRequest.BuilderpolicyType(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, sdkFields
-
-
-
-
Method Detail
-
domainIdentifier
ListPolicyGrantsRequest.Builder domainIdentifier(String 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
ListPolicyGrantsRequest.Builder entityIdentifier(String 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
ListPolicyGrantsRequest.Builder entityType(String 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:
TargetEntityType,TargetEntityType
-
entityType
ListPolicyGrantsRequest.Builder entityType(TargetEntityType 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:
TargetEntityType,TargetEntityType
-
maxResults
ListPolicyGrantsRequest.Builder maxResults(Integer 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
ListPolicyGrantsRequest.Builder nextToken(String 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
ListPolicyGrantsRequest.Builder policyType(String 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:
ManagedPolicyType,ManagedPolicyType
-
policyType
ListPolicyGrantsRequest.Builder policyType(ManagedPolicyType 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:
ManagedPolicyType,ManagedPolicyType
-
overrideConfiguration
ListPolicyGrantsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPolicyGrantsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-