@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIdentity extends Object implements Serializable, Cloneable, StructuredPojo
The AWS identity.
Constructor and Description |
---|
AwsIdentity() |
Modifier and Type | Method and Description |
---|---|
AwsIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getExternalId()
The external ID used to estalish trust relationship with the AWS identity.
|
String |
getPrincipal()
The AWS identity principal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExternalId(String externalId)
The external ID used to estalish trust relationship with the AWS identity.
|
void |
setPrincipal(String principal)
The AWS identity principal.
|
String |
toString()
Returns a string representation of this object.
|
AwsIdentity |
withExternalId(String externalId)
The external ID used to estalish trust relationship with the AWS identity.
|
AwsIdentity |
withPrincipal(String principal)
The AWS identity principal.
|
public void setExternalId(String externalId)
The external ID used to estalish trust relationship with the AWS identity.
externalId
- The external ID used to estalish trust relationship with the AWS identity.public String getExternalId()
The external ID used to estalish trust relationship with the AWS identity.
public AwsIdentity withExternalId(String externalId)
The external ID used to estalish trust relationship with the AWS identity.
externalId
- The external ID used to estalish trust relationship with the AWS identity.public void setPrincipal(String principal)
The AWS identity principal.
principal
- The AWS identity principal.public String getPrincipal()
The AWS identity principal.
public AwsIdentity withPrincipal(String principal)
The AWS identity principal.
principal
- The AWS identity principal.public String toString()
toString
in class Object
Object.toString()
public AwsIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.