AuthorizationProps
Properties for defining a Authorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-authorization
Initializer
import com.aliyun.ros.cdk.apigateway.AuthorizationProps;
AuthorizationProps.builder()
.apiIds(java.util.List<java.lang.Object>)
.apiIds(IResolvable)
.appIds(java.util.List<java.lang.Object>)
.appIds(IResolvable)
.groupId(java.lang.String)
.groupId(IResolvable)
.stageName(java.lang.String)
.stageName(IResolvable)
// .authValidTime(java.lang.String)
// .authValidTime(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
apiIds |
java.util.List |
Property apiIds: APIs to authorize. |
appIds |
java.util.List |
Property appIds: APPs are authorized to APIs. |
groupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupId: The id of the group. |
stageName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property stageName: Authorize in this stage. |
authValidTime |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authValidTime: The time (UTC) when the authorization expires. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of the authorization, less than 180 characters. |
apiIds
Required
public java.lang.Object getApiIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property apiIds: APIs to authorize.
appIds
Required
public java.lang.Object getAppIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property appIds: APPs are authorized to APIs.
groupId
Required
public java.lang.Object getGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupId: The id of the group.
stageName
Required
public java.lang.Object getStageName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property stageName: Authorize in this stage.
authValidTime
Optional
public java.lang.Object getAuthValidTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authValidTime: The time (UTC) when the authorization expires.
If this parameter is empty, the authorization does not expire. Pattern: YYYY-MM-DDThh:mm:ssZ
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the authorization, less than 180 characters.