@Generated(value="software.amazon.awssdk:codegen") public final class Delegate extends Object implements StructuredPojo, ToCopyableBuilder<Delegate.Builder,Delegate>
The name of the attribute, which is one of the values defined in the UserAttribute enumeration.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | Delegate.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| static Delegate.Builder | builder() | 
| boolean | equals(Object obj) | 
| <T> Optional<T> | getValueForField(String fieldName,
                Class<T> clazz) | 
| int | hashCode() | 
| String | id()
 The identifier for the user or group is associated as the resource's delegate. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| static Class<? extends Delegate.Builder> | serializableBuilderClass() | 
| Delegate.Builder | toBuilder()Take this object and create a builder that contains all of the current property values of this object. | 
| String | toString() | 
| MemberType | type()
 The type of the delegate: user or group. | 
| String | typeAsString()
 The type of the delegate: user or group. | 
copypublic String id()
The identifier for the user or group is associated as the resource's delegate.
public MemberType type()
The type of the delegate: user or group.
 If the service returns an enum value that is not available in the current SDK version, type will return
 MemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 typeAsString().
 
MemberTypepublic String typeAsString()
The type of the delegate: user or group.
 If the service returns an enum value that is not available in the current SDK version, type will return
 MemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 typeAsString().
 
MemberTypepublic Delegate.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Delegate.Builder,Delegate>public static Delegate.Builder builder()
public static Class<? extends Delegate.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.