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 ofPermissionobjects that describe the stack permissions.permissions(Consumer<Permission.Builder>... permissions) An array ofPermissionobjects that describe the stack permissions.permissions(Permission... permissions) An array ofPermissionobjects that describe the stack permissions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 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:
-
-