Interface ListPolicyTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPolicyTemplatesResponse.Builder,
,ListPolicyTemplatesResponse> SdkBuilder<ListPolicyTemplatesResponse.Builder,
,ListPolicyTemplatesResponse> SdkPojo
,SdkResponse.Builder
,VerifiedPermissionsResponse.Builder
- Enclosing class:
ListPolicyTemplatesResponse
@Mutable
@NotThreadSafe
public static interface ListPolicyTemplatesResponse.Builder
extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyTemplatesResponse.Builder,ListPolicyTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf present, this value indicates that more output is available than is included in the current response.policyTemplates
(Collection<PolicyTemplateItem> policyTemplates) The list of the policy templates in the specified policy store.policyTemplates
(Consumer<PolicyTemplateItem.Builder>... policyTemplates) The list of the policy templates in the specified policy store.policyTemplates
(PolicyTemplateItem... policyTemplates) The list of the policy templates in the specified policy store.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, sdkFieldNameToField, 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 Details
-
nextToken
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response 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 theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response 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.
-
policyTemplates
The list of the policy templates in the specified policy store.
- Parameters:
policyTemplates
- The list of the policy templates in the specified policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTemplates
The list of the policy templates in the specified policy store.
- Parameters:
policyTemplates
- The list of the policy templates in the specified policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTemplates
ListPolicyTemplatesResponse.Builder policyTemplates(Consumer<PolicyTemplateItem.Builder>... policyTemplates) The list of the policy templates in the specified policy store.
This is a convenience method that creates an instance of thePolicyTemplateItem.Builder
avoiding the need to create one manually viaPolicyTemplateItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyTemplates(List<PolicyTemplateItem>)
.- Parameters:
policyTemplates
- a consumer that will call methods onPolicyTemplateItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-