StructuredPojo, ToCopyableBuilder<SharePrincipal.Builder,SharePrincipal>@Generated("software.amazon.awssdk:codegen") public class SharePrincipal extends Object implements StructuredPojo, ToCopyableBuilder<SharePrincipal.Builder,SharePrincipal>
Describes the recipient type and ID, if available.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
SharePrincipal.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static SharePrincipal.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID of the recipient.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
role() |
The role of the recipient.
|
static Class<? extends SharePrincipal.Builder> |
serializableBuilderClass() |
|
SharePrincipal.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of the recipient.
|
public String id()
The ID of the recipient.
public String type()
The type of the recipient.
PrincipalTypepublic String role()
The role of the recipient.
RoleTypepublic SharePrincipal.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SharePrincipal.Builder,SharePrincipal>public static SharePrincipal.Builder builder()
public static Class<? extends SharePrincipal.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.