Interface ListProfilePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfilePermissionsResponse.Builder,
,ListProfilePermissionsResponse> SdkBuilder<ListProfilePermissionsResponse.Builder,
,ListProfilePermissionsResponse> SdkPojo
,SdkResponse.Builder
,SignerResponse.Builder
- Enclosing class:
ListProfilePermissionsResponse
@Mutable
@NotThreadSafe
public static interface ListProfilePermissionsResponse.Builder
extends SignerResponse.Builder, SdkPojo, CopyableBuilder<ListProfilePermissionsResponse.Builder,ListProfilePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionString for specifying the next set of paginated results.permissions
(Collection<Permission> permissions) List of permissions associated with the Signing Profile.permissions
(Consumer<Permission.Builder>... permissions) List of permissions associated with the Signing Profile.permissions
(Permission... permissions) List of permissions associated with the Signing Profile.policySizeBytes
(Integer policySizeBytes) Total size of the policy associated with the Signing Profile in bytes.revisionId
(String revisionId) The identifier for the current revision of profile permissions.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.signer.model.SignerResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
revisionId
The identifier for the current revision of profile permissions.
- Parameters:
revisionId
- The identifier for the current revision of profile permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySizeBytes
Total size of the policy associated with the Signing Profile in bytes.
- Parameters:
policySizeBytes
- Total size of the policy associated with the Signing Profile in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
List of permissions associated with the Signing Profile.
- Parameters:
permissions
- List of permissions associated with the Signing Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
List of permissions associated with the Signing Profile.
- Parameters:
permissions
- List of permissions associated with the Signing Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
List of permissions associated with the Signing Profile.
This is a convenience method that creates an instance of thePermission.Builder
avoiding the need to create one manually viaPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<Permission>)
.- 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:
-
nextToken
String for specifying the next set of paginated results.
- Parameters:
nextToken
- String for specifying the next set of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-