@Generated(value="software.amazon.awssdk:codegen") public 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 |
typeString()
The type of the delegate: user or group.
|
copy
public 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
typeString()
.
MemberType
public String typeString()
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
typeString()
.
MemberType
public Delegate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Delegate.Builder,Delegate>
public static Delegate.Builder builder()
public static Class<? extends Delegate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.