Interface DescribeResourcePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeResourcePermissionsResponse.Builder,
,DescribeResourcePermissionsResponse> SdkBuilder<DescribeResourcePermissionsResponse.Builder,
,DescribeResourcePermissionsResponse> SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
DescribeResourcePermissionsResponse
public static interface DescribeResourcePermissionsResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeResourcePermissionsResponse.Builder,DescribeResourcePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe marker to use when requesting the next set of results.principals
(Collection<Principal> principals) The principals.principals
(Consumer<Principal.Builder>... principals) The principals.principals
(Principal... principals) The principals.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.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
principals
The principals.
- Parameters:
principals
- The principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals.
- Parameters:
principals
- The principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals.
This is a convenience method that creates an instance of thePrincipal.Builder
avoiding the need to create one manually viaPrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipals(List<Principal>)
.- Parameters:
principals
- a consumer that will call methods onPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
- Parameters:
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-