Interface DescribePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribePermissionsResponse.Builder,
,DescribePermissionsResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribePermissionsResponse.Builder,
,DescribePermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribePermissionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionpermissions
(Collection<Permission> permissions) An array ofPermission
objects that describe the stack permissions.permissions
(Consumer<Permission.Builder>... permissions) An array ofPermission
objects that describe the stack permissions.permissions
(Permission... permissions) An array ofPermission
objects that describe the stack permissions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
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.
- Parameters:
permissions
- An array ofPermission
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
- Parameters:
permissions
- An array ofPermission
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
Permission.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:
-
-