Interface DescribePermissionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>,OpsWorksResponse.Builder,SdkBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePermissionsResponse
public static interface DescribePermissionsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribePermissionsResponse.Builder,DescribePermissionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePermissionsResponse.Builderpermissions(Collection<Permission> permissions)An array ofPermissionobjects that describe the stack permissions.DescribePermissionsResponse.Builderpermissions(Consumer<Permission.Builder>... permissions)An array ofPermissionobjects that describe the stack permissions.DescribePermissionsResponse.Builderpermissions(Permission... permissions)An array ofPermissionobjects 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 Detail
-
permissions
DescribePermissionsResponse.Builder permissions(Collection<Permission> permissions)
An array of
Permissionobjects that describe the stack permissions.-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject 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
Permissionobject with permissions for the specified stack and IAM ARN.
- Parameters:
permissions- An array ofPermissionobjects that describe the stack permissions.-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject 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
Permissionobject 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
DescribePermissionsResponse.Builder permissions(Permission... permissions)
An array of
Permissionobjects that describe the stack permissions.-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject 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
Permissionobject with permissions for the specified stack and IAM ARN.
- Parameters:
permissions- An array ofPermissionobjects that describe the stack permissions.-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject 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
Permissionobject 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
DescribePermissionsResponse.Builder permissions(Consumer<Permission.Builder>... permissions)
An array of
Permissionobjects that describe the stack permissions.-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject 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
Permissionobject with permissions for the specified stack and IAM ARN.
Permission.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)
-
-
-