public static interface ShareResult.Builder extends CopyableBuilder<ShareResult.Builder,ShareResult>
Modifier and Type | Method and Description |
---|---|
ShareResult.Builder |
principalId(String principalId)
The ID of the principal.
|
ShareResult.Builder |
role(RoleType role)
The role.
|
ShareResult.Builder |
role(String role)
The role.
|
ShareResult.Builder |
shareId(String shareId)
The ID of the resource that was shared.
|
ShareResult.Builder |
status(ShareStatusType status)
The status.
|
ShareResult.Builder |
status(String status)
The status.
|
ShareResult.Builder |
statusMessage(String statusMessage)
The status message.
|
copy
applyMutation, build
ShareResult.Builder principalId(String principalId)
The ID of the principal.
principalId
- The ID of the principal.ShareResult.Builder role(String role)
The role.
ShareResult.Builder role(RoleType role)
The role.
ShareResult.Builder status(String status)
The status.
status
- The status.ShareStatusType
,
ShareStatusType
ShareResult.Builder status(ShareStatusType status)
The status.
status
- The status.ShareStatusType
,
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.