Interface AppAuthorizationSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppAuthorizationSummary.Builder,AppAuthorizationSummary>,SdkBuilder<AppAuthorizationSummary.Builder,AppAuthorizationSummary>,SdkPojo
- Enclosing class:
- AppAuthorizationSummary
public static interface AppAuthorizationSummary.Builder extends SdkPojo, CopyableBuilder<AppAuthorizationSummary.Builder,AppAuthorizationSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AppAuthorizationSummary.Builderapp(String app)The name of the application.AppAuthorizationSummary.BuilderappAuthorizationArn(String appAuthorizationArn)The Amazon Resource Name (ARN) of the app authorization.AppAuthorizationSummary.BuilderappBundleArn(String appBundleArn)The Amazon Resource Name (ARN) of the app bundle for the app authorization.AppAuthorizationSummary.Builderstatus(String status)The state of the app authorization.AppAuthorizationSummary.Builderstatus(AppAuthorizationStatus status)The state of the app authorization.default AppAuthorizationSummary.Buildertenant(Consumer<Tenant.Builder> tenant)Contains information about an application tenant, such as the application display name and identifier.AppAuthorizationSummary.Buildertenant(Tenant tenant)Contains information about an application tenant, such as the application display name and identifier.AppAuthorizationSummary.BuilderupdatedAt(Instant updatedAt)Timestamp for when the app authorization was last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appAuthorizationArn
AppAuthorizationSummary.Builder appAuthorizationArn(String appAuthorizationArn)
The Amazon Resource Name (ARN) of the app authorization.
- Parameters:
appAuthorizationArn- The Amazon Resource Name (ARN) of the app authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appBundleArn
AppAuthorizationSummary.Builder appBundleArn(String appBundleArn)
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
- Parameters:
appBundleArn- The Amazon Resource Name (ARN) of the app bundle for the app authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
app
AppAuthorizationSummary.Builder app(String app)
The name of the application.
- Parameters:
app- The name of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenant
AppAuthorizationSummary.Builder tenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
- Parameters:
tenant- Contains information about an application tenant, such as the application display name and identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenant
default AppAuthorizationSummary.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.Builderavoiding the need to create one manually viaTenant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totenant(Tenant).- Parameters:
tenant- a consumer that will call methods onTenant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tenant(Tenant)
-
status
AppAuthorizationSummary.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppAuthorizationStatus,AppAuthorizationStatus
-
-
status
AppAuthorizationSummary.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppAuthorizationStatus,AppAuthorizationStatus
-
-
updatedAt
AppAuthorizationSummary.Builder updatedAt(Instant updatedAt)
Timestamp for when the app authorization was last updated.
- Parameters:
updatedAt- Timestamp for when the app authorization was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-