@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppAuthorization extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an app authorization.
Constructor and Description |
---|
AppAuthorization() |
Modifier and Type | Method and Description |
---|---|
AppAuthorization |
clone() |
boolean |
equals(Object obj) |
String |
getApp()
The name of the application.
|
String |
getAppAuthorizationArn()
The Amazon Resource Name (ARN) of the app authorization.
|
String |
getAppBundleArn()
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
|
String |
getAuthType()
The authorization type.
|
String |
getAuthUrl()
The application URL for the OAuth flow.
|
Date |
getCreatedAt()
The timestamp of when the app authorization was created.
|
String |
getPersona()
The user persona of the app authorization.
|
String |
getStatus()
The state of the app authorization.
|
Tenant |
getTenant()
Contains information about an application tenant, such as the application display name and identifier.
|
Date |
getUpdatedAt()
The timestamp of when the app authorization was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApp(String app)
The name of the application.
|
void |
setAppAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
|
void |
setAppBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
|
void |
setAuthType(String authType)
The authorization type.
|
void |
setAuthUrl(String authUrl)
The application URL for the OAuth flow.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the app authorization was created.
|
void |
setPersona(String persona)
The user persona of the app authorization.
|
void |
setStatus(String status)
The state of the app authorization.
|
void |
setTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the app authorization was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AppAuthorization |
withApp(String app)
The name of the application.
|
AppAuthorization |
withAppAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
|
AppAuthorization |
withAppBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
|
AppAuthorization |
withAuthType(AuthType authType)
The authorization type.
|
AppAuthorization |
withAuthType(String authType)
The authorization type.
|
AppAuthorization |
withAuthUrl(String authUrl)
The application URL for the OAuth flow.
|
AppAuthorization |
withCreatedAt(Date createdAt)
The timestamp of when the app authorization was created.
|
AppAuthorization |
withPersona(Persona persona)
The user persona of the app authorization.
|
AppAuthorization |
withPersona(String persona)
The user persona of the app authorization.
|
AppAuthorization |
withStatus(AppAuthorizationStatus status)
The state of the app authorization.
|
AppAuthorization |
withStatus(String status)
The state of the app authorization.
|
AppAuthorization |
withTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
AppAuthorization |
withUpdatedAt(Date updatedAt)
The timestamp of when the app authorization was last updated.
|
public void setAppAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
appAuthorizationArn
- The Amazon Resource Name (ARN) of the app authorization.public String getAppAuthorizationArn()
The Amazon Resource Name (ARN) of the app authorization.
public AppAuthorization withAppAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
appAuthorizationArn
- The Amazon Resource Name (ARN) of the app authorization.public void setAppBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
appBundleArn
- The Amazon Resource Name (ARN) of the app bundle for the app authorization.public String getAppBundleArn()
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
public AppAuthorization withAppBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
appBundleArn
- The Amazon Resource Name (ARN) of the app bundle for the app authorization.public void setApp(String app)
The name of the application.
app
- The name of the application.public String getApp()
The name of the application.
public AppAuthorization withApp(String app)
The name of the application.
app
- The name of the application.public void setTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
tenant
- Contains information about an application tenant, such as the application display name and identifier.public Tenant getTenant()
Contains information about an application tenant, such as the application display name and identifier.
public AppAuthorization withTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
tenant
- Contains information about an application tenant, such as the application display name and identifier.public void setAuthType(String authType)
The authorization type.
authType
- The authorization type.AuthType
public String getAuthType()
The authorization type.
AuthType
public AppAuthorization withAuthType(String authType)
The authorization type.
authType
- The authorization type.AuthType
public AppAuthorization withAuthType(AuthType authType)
The authorization type.
authType
- The authorization type.AuthType
public void setStatus(String status)
The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created but not
yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying to
connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is
in this state, you should try to reconnect the app authorization.
status
- The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created
but not yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying
to connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app
authorization is in this state, you should try to reconnect the app authorization.
AppAuthorizationStatus
public String getStatus()
The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created but not
yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying to
connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is
in this state, you should try to reconnect the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created
but not yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when
trying to connect to the application. If the app authorization is in this state, you should verify the
configured credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app
authorization is in this state, you should try to reconnect the app authorization.
AppAuthorizationStatus
public AppAuthorization withStatus(String status)
The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created but not
yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying to
connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is
in this state, you should try to reconnect the app authorization.
status
- The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created
but not yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying
to connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app
authorization is in this state, you should try to reconnect the app authorization.
AppAuthorizationStatus
public AppAuthorization withStatus(AppAuthorizationStatus status)
The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created but not
yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying to
connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is
in this state, you should try to reconnect the app authorization.
status
- The state of the app authorization.
The following states are possible:
PendingConnect
: The initial state of the app authorization. The app authorization is created
but not yet connected.
Connected
: The app authorization is connected to the application, and is ready to be used.
ConnectionValidationFailed
: The app authorization received a validation exception when trying
to connect to the application. If the app authorization is in this state, you should verify the configured
credentials and try to connect the app authorization again.
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app
authorization is in this state, you should try to reconnect the app authorization.
AppAuthorizationStatus
public void setCreatedAt(Date createdAt)
The timestamp of when the app authorization was created.
createdAt
- The timestamp of when the app authorization was created.public Date getCreatedAt()
The timestamp of when the app authorization was created.
public AppAuthorization withCreatedAt(Date createdAt)
The timestamp of when the app authorization was created.
createdAt
- The timestamp of when the app authorization was created.public void setUpdatedAt(Date updatedAt)
The timestamp of when the app authorization was last updated.
updatedAt
- The timestamp of when the app authorization was last updated.public Date getUpdatedAt()
The timestamp of when the app authorization was last updated.
public AppAuthorization withUpdatedAt(Date updatedAt)
The timestamp of when the app authorization was last updated.
updatedAt
- The timestamp of when the app authorization was last updated.public void setPersona(String persona)
The user persona of the app authorization.
This field should always be admin
.
persona
- The user persona of the app authorization.
This field should always be admin
.
Persona
public String getPersona()
The user persona of the app authorization.
This field should always be admin
.
This field should always be admin
.
Persona
public AppAuthorization withPersona(String persona)
The user persona of the app authorization.
This field should always be admin
.
persona
- The user persona of the app authorization.
This field should always be admin
.
Persona
public AppAuthorization withPersona(Persona persona)
The user persona of the app authorization.
This field should always be admin
.
persona
- The user persona of the app authorization.
This field should always be admin
.
Persona
public void setAuthUrl(String authUrl)
The application URL for the OAuth flow.
authUrl
- The application URL for the OAuth flow.public String getAuthUrl()
The application URL for the OAuth flow.
public AppAuthorization withAuthUrl(String authUrl)
The application URL for the OAuth flow.
authUrl
- The application URL for the OAuth flow.public String toString()
toString
in class Object
Object.toString()
public AppAuthorization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.