Interface ListProjectPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectPoliciesResponse.Builder,,ListProjectPoliciesResponse> RekognitionResponse.Builder,SdkBuilder<ListProjectPoliciesResponse.Builder,,ListProjectPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectPoliciesResponse
public static interface ListProjectPoliciesResponse.Builder
extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListProjectPoliciesResponse.Builder,ListProjectPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.projectPolicies(Collection<ProjectPolicy> projectPolicies) A list of project policies attached to the project.projectPolicies(Consumer<ProjectPolicy.Builder>... projectPolicies) A list of project policies attached to the project.projectPolicies(ProjectPolicy... projectPolicies) A list of project policies attached to the project.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
projectPolicies
A list of project policies attached to the project.
- Parameters:
projectPolicies- A list of project policies attached to the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectPolicies
A list of project policies attached to the project.
- Parameters:
projectPolicies- A list of project policies attached to the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectPolicies
ListProjectPoliciesResponse.Builder projectPolicies(Consumer<ProjectPolicy.Builder>... projectPolicies) A list of project policies attached to the project.
This is a convenience method that creates an instance of theProjectPolicy.Builderavoiding the need to create one manually viaProjectPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojectPolicies(List<ProjectPolicy>).- Parameters:
projectPolicies- a consumer that will call methods onProjectPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.
- Parameters:
nextToken- If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-