@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationAssignment extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes an assignment of a principal to an application.
| Constructor and Description |
|---|
ApplicationAssignment() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationAssignment |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationArn()
The ARN of the application that has principals assigned.
|
String |
getPrincipalId()
The unique identifier of the principal assigned to the application.
|
String |
getPrincipalType()
The type of the principal assigned to the application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApplicationArn(String applicationArn)
The ARN of the application that has principals assigned.
|
void |
setPrincipalId(String principalId)
The unique identifier of the principal assigned to the application.
|
void |
setPrincipalType(String principalType)
The type of the principal assigned to the application.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationAssignment |
withApplicationArn(String applicationArn)
The ARN of the application that has principals assigned.
|
ApplicationAssignment |
withPrincipalId(String principalId)
The unique identifier of the principal assigned to the application.
|
ApplicationAssignment |
withPrincipalType(PrincipalType principalType)
The type of the principal assigned to the application.
|
ApplicationAssignment |
withPrincipalType(String principalType)
The type of the principal assigned to the application.
|
public void setApplicationArn(String applicationArn)
The ARN of the application that has principals assigned.
applicationArn - The ARN of the application that has principals assigned.public String getApplicationArn()
The ARN of the application that has principals assigned.
public ApplicationAssignment withApplicationArn(String applicationArn)
The ARN of the application that has principals assigned.
applicationArn - The ARN of the application that has principals assigned.public void setPrincipalId(String principalId)
The unique identifier of the principal assigned to the application.
principalId - The unique identifier of the principal assigned to the application.public String getPrincipalId()
The unique identifier of the principal assigned to the application.
public ApplicationAssignment withPrincipalId(String principalId)
The unique identifier of the principal assigned to the application.
principalId - The unique identifier of the principal assigned to the application.public void setPrincipalType(String principalType)
The type of the principal assigned to the application.
principalType - The type of the principal assigned to the application.PrincipalTypepublic String getPrincipalType()
The type of the principal assigned to the application.
PrincipalTypepublic ApplicationAssignment withPrincipalType(String principalType)
The type of the principal assigned to the application.
principalType - The type of the principal assigned to the application.PrincipalTypepublic ApplicationAssignment withPrincipalType(PrincipalType principalType)
The type of the principal assigned to the application.
principalType - The type of the principal assigned to the application.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public ApplicationAssignment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.