Class CfnApplication.SignInOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sso.CfnApplication.SignInOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.SignInOptionsProperty>
- Enclosing interface:
CfnApplication.SignInOptionsProperty
@Stability(Stable)
public static final class CfnApplication.SignInOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.SignInOptionsProperty>
A builder for
CfnApplication.SignInOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationUrl
(String applicationUrl) Sets the value ofCfnApplication.SignInOptionsProperty.getApplicationUrl()
build()
Builds the configured instance.Sets the value ofCfnApplication.SignInOptionsProperty.getOrigin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
origin
Sets the value ofCfnApplication.SignInOptionsProperty.getOrigin()
- Parameters:
origin
- This determines how IAM Identity Center navigates the user to the target application. This parameter is required. It can be one of the following values:APPLICATION
: IAM Identity Center redirects the customer to the configuredApplicationUrl
.IDENTITY_CENTER
: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
- Returns:
this
-
applicationUrl
@Stability(Stable) public CfnApplication.SignInOptionsProperty.Builder applicationUrl(String applicationUrl) Sets the value ofCfnApplication.SignInOptionsProperty.getApplicationUrl()
- Parameters:
applicationUrl
- The URL that accepts authentication requests for an application. This is a required parameter if theOrigin
parameter isAPPLICATION
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.SignInOptionsProperty>
- Returns:
- a new instance of
CfnApplication.SignInOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-