CopyableBuilder<ShareResult.Builder,ShareResult>
, SdkBuilder<ShareResult.Builder,ShareResult>
public static interface ShareResult.Builder extends CopyableBuilder<ShareResult.Builder,ShareResult>
Modifier and Type | Method | Description |
---|---|---|
ShareResult.Builder |
principalId(String principalId) |
The ID of the principal.
|
ShareResult.Builder |
role(String role) |
The role.
|
ShareResult.Builder |
role(RoleType role) |
The role.
|
ShareResult.Builder |
shareId(String shareId) |
The ID of the resource that was shared.
|
ShareResult.Builder |
status(String status) |
The status.
|
ShareResult.Builder |
status(ShareStatusType status) |
The status.
|
ShareResult.Builder |
statusMessage(String statusMessage) |
The status message.
|
copy
apply, build
ShareResult.Builder principalId(String principalId)
The ID of the principal.
principalId
- The ID of the principal.ShareResult.Builder role(String role)
The role.
role
- The role.RoleType
ShareResult.Builder role(RoleType role)
The role.
role
- The role.RoleType
ShareResult.Builder status(String status)
The status.
status
- The status.ShareStatusType
ShareResult.Builder status(ShareStatusType status)
The status.
status
- The status.ShareStatusType
ShareResult.Builder shareId(String shareId)
The ID of the resource that was shared.
shareId
- The ID of the resource that was shared.ShareResult.Builder statusMessage(String statusMessage)
The status message.
statusMessage
- The status message.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.