public static interface DescribePermissionsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>
Modifier and Type | Method and Description |
---|---|
DescribePermissionsResponse.Builder |
permissions(Collection<Permission> permissions)
An array of
Permission objects that describe the stack permissions. |
DescribePermissionsResponse.Builder |
permissions(Consumer<Permission.Builder>... permissions)
An array of
Permission objects that describe the stack permissions. |
DescribePermissionsResponse.Builder |
permissions(Permission... permissions)
An array of
Permission objects that describe the stack permissions. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribePermissionsResponse.Builder permissions(Collection<Permission> permissions)
An array of Permission
objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission
object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission
object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object
with permissions for the specified stack and IAM ARN.
permissions
- An array of Permission
objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission
object
with permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission
object
with permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
DescribePermissionsResponse.Builder permissions(Permission... permissions)
An array of Permission
objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission
object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission
object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object
with permissions for the specified stack and IAM ARN.
permissions
- An array of Permission
objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission
object
with permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission
object
with permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
DescribePermissionsResponse.Builder permissions(Consumer<Permission.Builder>... permissions)
An array of Permission
objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission
object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission
object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object
with permissions for the specified stack and IAM ARN.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #permissions(List)
.permissions
- a consumer that will call methods on List.Builder
#permissions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.