Interface ListPolicyTemplatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPolicyTemplatesResponse.Builder,ListPolicyTemplatesResponse>,SdkBuilder<ListPolicyTemplatesResponse.Builder,ListPolicyTemplatesResponse>,SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
- ListPolicyTemplatesResponse
public static interface ListPolicyTemplatesResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyTemplatesResponse.Builder,ListPolicyTemplatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPolicyTemplatesResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.ListPolicyTemplatesResponse.BuilderpolicyTemplates(Collection<PolicyTemplateItem> policyTemplates)The list of the policy templates in the specified policy store.ListPolicyTemplatesResponse.BuilderpolicyTemplates(Consumer<PolicyTemplateItem.Builder>... policyTemplates)The list of the policy templates in the specified policy store.ListPolicyTemplatesResponse.BuilderpolicyTemplates(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, 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
ListPolicyTemplatesResponse.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.
-
policyTemplates
ListPolicyTemplatesResponse.Builder policyTemplates(Collection<PolicyTemplateItem> 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(PolicyTemplateItem... 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.Builderavoiding the need to create one manually viaPolicyTemplateItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyTemplates(List.) - 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:
#policyTemplates(java.util.Collection)
-
-