@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppInstanceAdmin extends Object implements Serializable, Cloneable, StructuredPojo
Promotes a user to the administrator role for the duration of an app instance.
| Constructor and Description |
|---|
AppInstanceAdmin() |
| Modifier and Type | Method and Description |
|---|---|
AppInstanceAdmin |
clone() |
boolean |
equals(Object obj) |
Identity |
getAdmin()
The name and metadata of the app instance administrator.
|
String |
getAppInstanceArn()
The ARN of the app instance administrator.
|
Date |
getCreatedTimestamp()
The time at which an administrator was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdmin(Identity admin)
The name and metadata of the app instance administrator.
|
void |
setAppInstanceArn(String appInstanceArn)
The ARN of the app instance administrator.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which an administrator was created.
|
String |
toString()
Returns a string representation of this object.
|
AppInstanceAdmin |
withAdmin(Identity admin)
The name and metadata of the app instance administrator.
|
AppInstanceAdmin |
withAppInstanceArn(String appInstanceArn)
The ARN of the app instance administrator.
|
AppInstanceAdmin |
withCreatedTimestamp(Date createdTimestamp)
The time at which an administrator was created.
|
public void setAdmin(Identity admin)
The name and metadata of the app instance administrator.
admin - The name and metadata of the app instance administrator.public Identity getAdmin()
The name and metadata of the app instance administrator.
public AppInstanceAdmin withAdmin(Identity admin)
The name and metadata of the app instance administrator.
admin - The name and metadata of the app instance administrator.public void setAppInstanceArn(String appInstanceArn)
The ARN of the app instance administrator.
appInstanceArn - The ARN of the app instance administrator.public String getAppInstanceArn()
The ARN of the app instance administrator.
public AppInstanceAdmin withAppInstanceArn(String appInstanceArn)
The ARN of the app instance administrator.
appInstanceArn - The ARN of the app instance administrator.public void setCreatedTimestamp(Date createdTimestamp)
The time at which an administrator was created.
createdTimestamp - The time at which an administrator was created.public Date getCreatedTimestamp()
The time at which an administrator was created.
public AppInstanceAdmin withCreatedTimestamp(Date createdTimestamp)
The time at which an administrator was created.
createdTimestamp - The time at which an administrator was created.public String toString()
toString in class ObjectObject.toString()public AppInstanceAdmin clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.