CopyableBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>, SdkBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>public static interface DescribePermissionsResponse.Builder extends CopyableBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>
| Modifier and Type | Method | Description |
|---|---|---|
DescribePermissionsResponse.Builder |
permissions(Collection<Permission> 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. |
copyapply, buildDescribePermissionsResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setPermissions(java.util.Collection) or #withPermissions(java.util.Collection) if you want
to override the existing values.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.