Interface ListPolicyStoresResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPolicyStoresResponse.Builder,ListPolicyStoresResponse>,SdkBuilder<ListPolicyStoresResponse.Builder,ListPolicyStoresResponse>,SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
- ListPolicyStoresResponse
public static interface ListPolicyStoresResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyStoresResponse.Builder,ListPolicyStoresResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPolicyStoresResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.ListPolicyStoresResponse.BuilderpolicyStores(Collection<PolicyStoreItem> policyStores)The list of policy stores in the account.ListPolicyStoresResponse.BuilderpolicyStores(Consumer<PolicyStoreItem.Builder>... policyStores)The list of policy stores in the account.ListPolicyStoresResponse.BuilderpolicyStores(PolicyStoreItem... policyStores)The list of policy stores in the account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListPolicyStoresResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyStores
ListPolicyStoresResponse.Builder policyStores(Collection<PolicyStoreItem> policyStores)
The list of policy stores in the account.
- Parameters:
policyStores- The list of policy stores in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyStores
ListPolicyStoresResponse.Builder policyStores(PolicyStoreItem... policyStores)
The list of policy stores in the account.
- Parameters:
policyStores- The list of policy stores in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyStores
ListPolicyStoresResponse.Builder policyStores(Consumer<PolicyStoreItem.Builder>... policyStores)
The list of policy stores in the account.
This is a convenience method that creates an instance of thePolicyStoreItem.Builderavoiding the need to create one manually viaPolicyStoreItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyStores(List.) - Parameters:
policyStores- a consumer that will call methods onPolicyStoreItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyStores(java.util.Collection)
-
-