Interface ShareResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ShareResult.Builder,ShareResult>,SdkBuilder<ShareResult.Builder,ShareResult>,SdkPojo
- Enclosing class:
- ShareResult
public static interface ShareResult.Builder extends SdkPojo, CopyableBuilder<ShareResult.Builder,ShareResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareResult.BuilderinviteePrincipalId(String inviteePrincipalId)The ID of the invited user.ShareResult.BuilderprincipalId(String principalId)The ID of the principal.ShareResult.Builderrole(String role)The role.ShareResult.Builderrole(RoleType role)The role.ShareResult.BuildershareId(String shareId)The ID of the resource that was shared.ShareResult.Builderstatus(String status)The status.ShareResult.Builderstatus(ShareStatusType status)The status.ShareResult.BuilderstatusMessage(String statusMessage)The status message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
principalId
ShareResult.Builder principalId(String principalId)
The ID of the principal.
- Parameters:
principalId- The ID of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteePrincipalId
ShareResult.Builder inviteePrincipalId(String inviteePrincipalId)
The ID of the invited user.
- Parameters:
inviteePrincipalId- The ID of the invited user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
ShareResult.Builder role(String role)
The role.
-
role
ShareResult.Builder role(RoleType role)
The role.
-
status
ShareResult.Builder status(String status)
The status.
- Parameters:
status- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareStatusType,ShareStatusType
-
status
ShareResult.Builder status(ShareStatusType status)
The status.
- Parameters:
status- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShareStatusType,ShareStatusType
-
shareId
ShareResult.Builder shareId(String shareId)
The ID of the resource that was shared.
- Parameters:
shareId- The ID of the resource that was shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
ShareResult.Builder statusMessage(String statusMessage)
The status message.
- Parameters:
statusMessage- The status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-