Interface ListPermissionsResponse.Builder
-
- All Superinterfaces:
AcmPcaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>,SdkBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPermissionsResponse
public static interface ListPermissionsResponse.Builder extends AcmPcaResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPermissionsResponse.BuildernextToken(String nextToken)When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.ListPermissionsResponse.Builderpermissions(Collection<Permission> permissions)Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.ListPermissionsResponse.Builderpermissions(Consumer<Permission.Builder>... permissions)Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.ListPermissionsResponse.Builderpermissions(Permission... permissions)Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.-
Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
nextToken
ListPermissionsResponse.Builder nextToken(String nextToken)
When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.
- Parameters:
nextToken- When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListPermissionsResponse.Builder permissions(Collection<Permission> permissions)
Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.
- Parameters:
permissions- Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListPermissionsResponse.Builder permissions(Permission... permissions)
Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.
- Parameters:
permissions- Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListPermissionsResponse.Builder permissions(Consumer<Permission.Builder>... permissions)
Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.
This is a convenience method that creates an instance of thePermission.Builderavoiding the need to create one manually viaPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#permissions(List.) - Parameters:
permissions- a consumer that will call methods onPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#permissions(java.util.Collection)
-
-