@Generated(value="software.amazon.awssdk:codegen") public final class AppAuthorization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppAuthorization.Builder,AppAuthorization>
Contains information about an app authorization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppAuthorization.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
app()
The name of the application.
|
String |
appAuthorizationArn()
The Amazon Resource Name (ARN) of the app authorization.
|
String |
appBundleArn()
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
|
AuthType |
authType()
The authorization type.
|
String |
authTypeAsString()
The authorization type.
|
String |
authUrl()
The application URL for the OAuth flow.
|
static AppAuthorization.Builder |
builder() |
Instant |
createdAt()
The timestamp of when the app authorization was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Persona |
persona()
The user persona of the app authorization.
|
String |
personaAsString()
The user persona of the app authorization.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AppAuthorization.Builder> |
serializableBuilderClass() |
AppAuthorizationStatus |
status()
The state of the app authorization.
|
String |
statusAsString()
The state of the app authorization.
|
Tenant |
tenant()
Contains information about an application tenant, such as the application display name and identifier.
|
AppAuthorization.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The timestamp of when the app authorization was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appAuthorizationArn()
The Amazon Resource Name (ARN) of the app authorization.
public final String appBundleArn()
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
public final String app()
The name of the application.
public final Tenant tenant()
Contains information about an application tenant, such as the application display name and identifier.
public final AuthType authType()
The authorization type.
If the service returns an enum value that is not available in the current SDK version, authType will
return AuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
AuthTypepublic final String authTypeAsString()
The authorization type.
If the service returns an enum value that is not available in the current SDK version, authType will
return AuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
AuthTypepublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return AppAuthorizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
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.
AppAuthorizationStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return AppAuthorizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
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.
AppAuthorizationStatuspublic final Instant createdAt()
The timestamp of when the app authorization was created.
public final Instant updatedAt()
The timestamp of when the app authorization was last updated.
public final Persona persona()
The user persona of the app authorization.
This field should always be admin.
If the service returns an enum value that is not available in the current SDK version, persona will
return Persona.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
personaAsString().
This field should always be admin.
Personapublic final String personaAsString()
The user persona of the app authorization.
This field should always be admin.
If the service returns an enum value that is not available in the current SDK version, persona will
return Persona.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
personaAsString().
This field should always be admin.
Personapublic final String authUrl()
The application URL for the OAuth flow.
public AppAuthorization.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AppAuthorization.Builder,AppAuthorization>public static AppAuthorization.Builder builder()
public static Class<? extends AppAuthorization.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.