public static interface AppAuthorization.Builder extends SdkPojo, CopyableBuilder<AppAuthorization.Builder,AppAuthorization>
| Modifier and Type | Method and Description |
|---|---|
AppAuthorization.Builder |
app(String app)
The name of the application.
|
AppAuthorization.Builder |
appAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
|
AppAuthorization.Builder |
appBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
|
AppAuthorization.Builder |
authType(AuthType authType)
The authorization type.
|
AppAuthorization.Builder |
authType(String authType)
The authorization type.
|
AppAuthorization.Builder |
authUrl(String authUrl)
The application URL for the OAuth flow.
|
AppAuthorization.Builder |
createdAt(Instant createdAt)
The timestamp of when the app authorization was created.
|
AppAuthorization.Builder |
persona(Persona persona)
The user persona of the app authorization.
|
AppAuthorization.Builder |
persona(String persona)
The user persona of the app authorization.
|
AppAuthorization.Builder |
status(AppAuthorizationStatus status)
The state of the app authorization.
|
AppAuthorization.Builder |
status(String status)
The state of the app authorization.
|
default AppAuthorization.Builder |
tenant(Consumer<Tenant.Builder> tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
AppAuthorization.Builder |
tenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
AppAuthorization.Builder |
updatedAt(Instant updatedAt)
The timestamp of when the app authorization was last updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppAuthorization.Builder appAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
appAuthorizationArn - The Amazon Resource Name (ARN) of the app authorization.AppAuthorization.Builder appBundleArn(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.AppAuthorization.Builder app(String app)
The name of the application.
app - The name of the application.AppAuthorization.Builder tenant(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.default AppAuthorization.Builder tenant(Consumer<Tenant.Builder> tenant)
Contains information about an application tenant, such as the application display name and identifier.
This is a convenience method that creates an instance of theTenant.Builder avoiding the need to
create one manually via Tenant.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tenant(Tenant).
tenant - a consumer that will call methods on Tenant.Buildertenant(Tenant)AppAuthorization.Builder authType(String authType)
The authorization type.
AppAuthorization.Builder authType(AuthType authType)
The authorization type.
AppAuthorization.Builder status(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,
AppAuthorizationStatusAppAuthorization.Builder status(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,
AppAuthorizationStatusAppAuthorization.Builder createdAt(Instant createdAt)
The timestamp of when the app authorization was created.
createdAt - The timestamp of when the app authorization was created.AppAuthorization.Builder updatedAt(Instant updatedAt)
The timestamp of when the app authorization was last updated.
updatedAt - The timestamp of when the app authorization was last updated.AppAuthorization.Builder persona(String persona)
The user persona of the app authorization.
This field should always be admin.
AppAuthorization.Builder persona(Persona persona)
The user persona of the app authorization.
This field should always be admin.
AppAuthorization.Builder authUrl(String authUrl)
The application URL for the OAuth flow.
authUrl - The application URL for the OAuth flow.Copyright © 2023. All rights reserved.