@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public AppInstanceAdmin clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.