public static final class Application.Builder extends Object implements software.amazon.jsii.Builder<Application>
Application.| Modifier and Type | Method and Description |
|---|---|
Application.Builder |
accessTokenValidity(com.aliyun.ros.cdk.core.IResolvable accessTokenValidity)
Property accessTokenValidity: The validity period of the access token.
|
Application.Builder |
accessTokenValidity(Number accessTokenValidity)
Property accessTokenValidity: The validity period of the access token.
|
Application.Builder |
appName(com.aliyun.ros.cdk.core.IResolvable appName)
Property appName: The name of the application.
|
Application.Builder |
appName(String appName)
Property appName: The name of the application.
|
Application.Builder |
appType(com.aliyun.ros.cdk.core.IResolvable appType)
Property appType: The type of the application.
|
Application.Builder |
appType(String appType)
Property appType: The type of the application.
|
Application |
build() |
static Application.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id) |
static Application.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id,
Boolean enableResourcePropertyConstraint) |
Application.Builder |
displayName(com.aliyun.ros.cdk.core.IResolvable displayName)
Property displayName: The display name of the application.
|
Application.Builder |
displayName(String displayName)
Property displayName: The display name of the application.
|
Application.Builder |
isMultiTenant(Boolean isMultiTenant)
Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts.
|
Application.Builder |
isMultiTenant(com.aliyun.ros.cdk.core.IResolvable isMultiTenant)
Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts.
|
Application.Builder |
predefinedScopes(com.aliyun.ros.cdk.core.IResolvable predefinedScopes)
Property predefinedScopes: List of the scopes of application permissions.
|
Application.Builder |
predefinedScopes(List<? extends Object> predefinedScopes)
Property predefinedScopes: List of the scopes of application permissions.
|
Application.Builder |
redirectUris(com.aliyun.ros.cdk.core.IResolvable redirectUris)
Property redirectUris: List of the callback URLs.
|
Application.Builder |
redirectUris(List<? extends Object> redirectUris)
Property redirectUris: List of the callback URLs.
|
Application.Builder |
refreshTokenValidity(com.aliyun.ros.cdk.core.IResolvable refreshTokenValidity)
Property refreshTokenValidity: The validity period of the refreshed token.
|
Application.Builder |
refreshTokenValidity(Number refreshTokenValidity)
Property refreshTokenValidity: The validity period of the refreshed token.
|
Application.Builder |
requiredScopes(com.aliyun.ros.cdk.core.IResolvable requiredScopes)
Property requiredScopes: Required scope of application permissions.
|
Application.Builder |
requiredScopes(List<? extends Object> requiredScopes)
Property requiredScopes: Required scope of application permissions.
|
Application.Builder |
secretRequired(Boolean secretRequired)
Property secretRequired: Indicates whether a secret is required.
|
Application.Builder |
secretRequired(com.aliyun.ros.cdk.core.IResolvable secretRequired)
Property secretRequired: Indicates whether a secret is required.
|
public static Application.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id, Boolean enableResourcePropertyConstraint)
scope - This parameter is required.id - This parameter is required.enableResourcePropertyConstraint - Application.Builder.public static Application.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Application.Builder.public Application.Builder appName(String appName)
The name can be up to 64 characters in length. The name can contain letters, digits, periods (.), underscores (_), and hyphens (-).
appName - Property appName: The name of the application. This parameter is required.thispublic Application.Builder appName(com.aliyun.ros.cdk.core.IResolvable appName)
The name can be up to 64 characters in length. The name can contain letters, digits, periods (.), underscores (_), and hyphens (-).
appName - Property appName: The name of the application. This parameter is required.thispublic Application.Builder appType(String appType)
Valid values:
appType - Property appType: The type of the application. This parameter is required.thispublic Application.Builder appType(com.aliyun.ros.cdk.core.IResolvable appType)
Valid values:
appType - Property appType: The type of the application. This parameter is required.thispublic Application.Builder displayName(String displayName)
The name can be up to 24 characters in length.
displayName - Property displayName: The display name of the application. This parameter is required.thispublic Application.Builder displayName(com.aliyun.ros.cdk.core.IResolvable displayName)
The name can be up to 24 characters in length.
displayName - Property displayName: The display name of the application. This parameter is required.thispublic Application.Builder accessTokenValidity(Number accessTokenValidity)
Valid values: 900 to 10800. Unit: seconds. Default value: 3600.
accessTokenValidity - Property accessTokenValidity: The validity period of the access token. This parameter is required.thispublic Application.Builder accessTokenValidity(com.aliyun.ros.cdk.core.IResolvable accessTokenValidity)
Valid values: 900 to 10800. Unit: seconds. Default value: 3600.
accessTokenValidity - Property accessTokenValidity: The validity period of the access token. This parameter is required.thispublic Application.Builder isMultiTenant(Boolean isMultiTenant)
Valid values:
isMultiTenant - Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts. This parameter is required.thispublic Application.Builder isMultiTenant(com.aliyun.ros.cdk.core.IResolvable isMultiTenant)
Valid values:
isMultiTenant - Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts. This parameter is required.thispublic Application.Builder predefinedScopes(com.aliyun.ros.cdk.core.IResolvable predefinedScopes)
predefinedScopes - Property predefinedScopes: List of the scopes of application permissions. This parameter is required.thispublic Application.Builder predefinedScopes(List<? extends Object> predefinedScopes)
predefinedScopes - Property predefinedScopes: List of the scopes of application permissions. This parameter is required.thispublic Application.Builder redirectUris(com.aliyun.ros.cdk.core.IResolvable redirectUris)
redirectUris - Property redirectUris: List of the callback URLs. This parameter is required.thispublic Application.Builder redirectUris(List<? extends Object> redirectUris)
redirectUris - Property redirectUris: List of the callback URLs. This parameter is required.thispublic Application.Builder refreshTokenValidity(Number refreshTokenValidity)
Valid values: 7200 to 31536000. Unit: seconds. Default value:
refreshTokenValidity - Property refreshTokenValidity: The validity period of the refreshed token. This parameter is required.thispublic Application.Builder refreshTokenValidity(com.aliyun.ros.cdk.core.IResolvable refreshTokenValidity)
Valid values: 7200 to 31536000. Unit: seconds. Default value:
refreshTokenValidity - Property refreshTokenValidity: The validity period of the refreshed token. This parameter is required.thispublic Application.Builder requiredScopes(com.aliyun.ros.cdk.core.IResolvable requiredScopes)
You can set one or more of the scopes set in the PredefinedScopes to be required, so that when a user authorizes the application, the required scopes are selected by default and cannot be canceled. Notes: If you set a RequiredScopes entry that is not within the scope of PredefinedScopes, the required range will not take effect.
requiredScopes - Property requiredScopes: Required scope of application permissions. This parameter is required.thispublic Application.Builder requiredScopes(List<? extends Object> requiredScopes)
You can set one or more of the scopes set in the PredefinedScopes to be required, so that when a user authorizes the application, the required scopes are selected by default and cannot be canceled. Notes: If you set a RequiredScopes entry that is not within the scope of PredefinedScopes, the required range will not take effect.
requiredScopes - Property requiredScopes: Required scope of application permissions. This parameter is required.thispublic Application.Builder secretRequired(Boolean secretRequired)
Valid values: true and false. Note:
secretRequired - Property secretRequired: Indicates whether a secret is required. This parameter is required.thispublic Application.Builder secretRequired(com.aliyun.ros.cdk.core.IResolvable secretRequired)
Valid values: true and false. Note:
secretRequired - Property secretRequired: Indicates whether a secret is required. This parameter is required.thispublic Application build()
build in interface software.amazon.jsii.Builder<Application>Application.Copyright © 2023. All rights reserved.