@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationAssignmentForPrincipal extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes an application to which a principal is assigned.
Constructor and Description |
---|
ApplicationAssignmentForPrincipal() |
Modifier and Type | Method and Description |
---|---|
ApplicationAssignmentForPrincipal |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationArn()
The ARN of the application to which the specified principal is 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 to which the specified principal is 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.
|
ApplicationAssignmentForPrincipal |
withApplicationArn(String applicationArn)
The ARN of the application to which the specified principal is assigned.
|
ApplicationAssignmentForPrincipal |
withPrincipalId(String principalId)
The unique identifier of the principal assigned to the application.
|
ApplicationAssignmentForPrincipal |
withPrincipalType(PrincipalType principalType)
The type of the principal assigned to the application.
|
ApplicationAssignmentForPrincipal |
withPrincipalType(String principalType)
The type of the principal assigned to the application.
|
public void setApplicationArn(String applicationArn)
The ARN of the application to which the specified principal is assigned.
applicationArn
- The ARN of the application to which the specified principal is assigned.public String getApplicationArn()
The ARN of the application to which the specified principal is assigned.
public ApplicationAssignmentForPrincipal withApplicationArn(String applicationArn)
The ARN of the application to which the specified principal is assigned.
applicationArn
- The ARN of the application to which the specified principal is 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 ApplicationAssignmentForPrincipal 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.PrincipalType
public String getPrincipalType()
The type of the principal assigned to the application.
PrincipalType
public ApplicationAssignmentForPrincipal withPrincipalType(String principalType)
The type of the principal assigned to the application.
principalType
- The type of the principal assigned to the application.PrincipalType
public ApplicationAssignmentForPrincipal withPrincipalType(PrincipalType principalType)
The type of the principal assigned to the application.
principalType
- The type of the principal assigned to the application.PrincipalType
public String toString()
toString
in class Object
Object.toString()
public ApplicationAssignmentForPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.