public static final class ApplicationProps.Builder extends Object implements software.amazon.jsii.Builder<ApplicationProps>
ApplicationProps| Constructor and Description |
|---|
Builder() |
public ApplicationProps.Builder appName(String appName)
ApplicationProps.getAppName()appName - Property appName: The name of the application. This parameter is required.
The name can be up to 64 characters in length. The name can contain letters, digits, periods (.), underscores (_), and hyphens (-).thispublic ApplicationProps.Builder appName(com.aliyun.ros.cdk.core.IResolvable appName)
ApplicationProps.getAppName()appName - Property appName: The name of the application. This parameter is required.
The name can be up to 64 characters in length. The name can contain letters, digits, periods (.), underscores (_), and hyphens (-).thispublic ApplicationProps.Builder appType(String appType)
ApplicationProps.getAppType()appType - Property appType: The type of the application. This parameter is required.
Valid values:
thispublic ApplicationProps.Builder appType(com.aliyun.ros.cdk.core.IResolvable appType)
ApplicationProps.getAppType()appType - Property appType: The type of the application. This parameter is required.
Valid values:
thispublic ApplicationProps.Builder displayName(String displayName)
ApplicationProps.getDisplayName()displayName - Property displayName: The display name of the application. This parameter is required.
The name can be up to 24 characters in length.thispublic ApplicationProps.Builder displayName(com.aliyun.ros.cdk.core.IResolvable displayName)
ApplicationProps.getDisplayName()displayName - Property displayName: The display name of the application. This parameter is required.
The name can be up to 24 characters in length.thispublic ApplicationProps.Builder accessTokenValidity(Number accessTokenValidity)
ApplicationProps.getAccessTokenValidity()accessTokenValidity - Property accessTokenValidity: The validity period of the access token.
Valid values: 900 to 10800. Unit: seconds.
Default value: 3600.thispublic ApplicationProps.Builder accessTokenValidity(com.aliyun.ros.cdk.core.IResolvable accessTokenValidity)
ApplicationProps.getAccessTokenValidity()accessTokenValidity - Property accessTokenValidity: The validity period of the access token.
Valid values: 900 to 10800. Unit: seconds.
Default value: 3600.thispublic ApplicationProps.Builder isMultiTenant(Boolean isMultiTenant)
ApplicationProps.getIsMultiTenant()isMultiTenant - Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts.
Valid values:
thispublic ApplicationProps.Builder isMultiTenant(com.aliyun.ros.cdk.core.IResolvable isMultiTenant)
ApplicationProps.getIsMultiTenant()isMultiTenant - Property isMultiTenant: Indicates whether the application can be installed by using other Alibaba Cloud accounts.
Valid values:
thispublic ApplicationProps.Builder predefinedScopes(com.aliyun.ros.cdk.core.IResolvable predefinedScopes)
ApplicationProps.getPredefinedScopes()predefinedScopes - Property predefinedScopes: List of the scopes of application permissions.thispublic ApplicationProps.Builder predefinedScopes(List<? extends Object> predefinedScopes)
ApplicationProps.getPredefinedScopes()predefinedScopes - Property predefinedScopes: List of the scopes of application permissions.thispublic ApplicationProps.Builder redirectUris(com.aliyun.ros.cdk.core.IResolvable redirectUris)
ApplicationProps.getRedirectUris()redirectUris - Property redirectUris: List of the callback URLs.thispublic ApplicationProps.Builder redirectUris(List<? extends Object> redirectUris)
ApplicationProps.getRedirectUris()redirectUris - Property redirectUris: List of the callback URLs.thispublic ApplicationProps.Builder refreshTokenValidity(Number refreshTokenValidity)
ApplicationProps.getRefreshTokenValidity()refreshTokenValidity - Property refreshTokenValidity: The validity period of the refreshed token.
Valid values: 7200 to 31536000. Unit: seconds.
Default value:
thispublic ApplicationProps.Builder refreshTokenValidity(com.aliyun.ros.cdk.core.IResolvable refreshTokenValidity)
ApplicationProps.getRefreshTokenValidity()refreshTokenValidity - Property refreshTokenValidity: The validity period of the refreshed token.
Valid values: 7200 to 31536000. Unit: seconds.
Default value:
thispublic ApplicationProps.Builder requiredScopes(com.aliyun.ros.cdk.core.IResolvable requiredScopes)
ApplicationProps.getRequiredScopes()requiredScopes - Property requiredScopes: Required scope of application permissions.
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.thispublic ApplicationProps.Builder requiredScopes(List<? extends Object> requiredScopes)
ApplicationProps.getRequiredScopes()requiredScopes - Property requiredScopes: Required scope of application permissions.
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.thispublic ApplicationProps.Builder secretRequired(Boolean secretRequired)
ApplicationProps.getSecretRequired()secretRequired - Property secretRequired: Indicates whether a secret is required.
Valid values: true and false.
Note:
thispublic ApplicationProps.Builder secretRequired(com.aliyun.ros.cdk.core.IResolvable secretRequired)
ApplicationProps.getSecretRequired()secretRequired - Property secretRequired: Indicates whether a secret is required.
Valid values: true and false.
Note:
thispublic ApplicationProps build()
build in interface software.amazon.jsii.Builder<ApplicationProps>ApplicationPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.