@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Delegate extends Object implements Serializable, Cloneable, StructuredPojo
The name of the attribute, which is one of the values defined in the UserAttribute enumeration.
Constructor and Description |
---|
Delegate() |
Modifier and Type | Method and Description |
---|---|
Delegate |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier for the user or group associated as the resource's delegate.
|
String |
getType()
The type of the delegate: user or group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The identifier for the user or group associated as the resource's delegate.
|
void |
setType(String type)
The type of the delegate: user or group.
|
String |
toString()
Returns a string representation of this object.
|
Delegate |
withId(String id)
The identifier for the user or group associated as the resource's delegate.
|
Delegate |
withType(MemberType type)
The type of the delegate: user or group.
|
Delegate |
withType(String type)
The type of the delegate: user or group.
|
public void setId(String id)
The identifier for the user or group associated as the resource's delegate.
id
- The identifier for the user or group associated as the resource's delegate.public String getId()
The identifier for the user or group associated as the resource's delegate.
public Delegate withId(String id)
The identifier for the user or group associated as the resource's delegate.
id
- The identifier for the user or group associated as the resource's delegate.public void setType(String type)
The type of the delegate: user or group.
type
- The type of the delegate: user or group.MemberType
public String getType()
The type of the delegate: user or group.
MemberType
public Delegate withType(String type)
The type of the delegate: user or group.
type
- The type of the delegate: user or group.MemberType
public Delegate withType(MemberType type)
The type of the delegate: user or group.
type
- The type of the delegate: user or group.MemberType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.