Skip to content

ConsumerProps

Properties for defining a Consumer.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-consumer

Initializer

import com.aliyun.ros.cdk.apig.ConsumerProps;
ConsumerProps.builder()
//  .akSkIdentityConfigs(IResolvable)
//  .akSkIdentityConfigs(java.util.List<IResolvable)
//  .akSkIdentityConfigs(AkSkIdentityConfigsProperty>)
//  .apikeyIdentityConfig(IResolvable)
//  .apikeyIdentityConfig(ApikeyIdentityConfigProperty)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .enable(java.lang.Boolean)
//  .enable(IResolvable)
//  .gatewayType(java.lang.String)
//  .gatewayType(IResolvable)
//  .jwtIdentityConfig(IResolvable)
//  .jwtIdentityConfig(JwtIdentityConfigProperty)
//  .name(java.lang.String)
//  .name(IResolvable)
    .build();

Properties

Name Type Description
akSkIdentityConfigs com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAkSkIdentityConfigsProperty> Property akSkIdentityConfigs: List of AK\/SK identity configurations.
apikeyIdentityConfig com.aliyun.ros.cdk.core.IResolvable OR ApikeyIdentityConfigProperty Property apikeyIdentityConfig: API key identity configuration.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the consumer.
enable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enable: Whether to enable the consumer.
gatewayType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property gatewayType: The type of the gateway.
jwtIdentityConfig com.aliyun.ros.cdk.core.IResolvable OR JwtIdentityConfigProperty Property jwtIdentityConfig: JWT identity configuration.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the consumer.

akSkIdentityConfigsOptional

public java.lang.Object getAkSkIdentityConfigs();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAkSkIdentityConfigsProperty>

Property akSkIdentityConfigs: List of AK\/SK identity configurations.


apikeyIdentityConfigOptional

public java.lang.Object getApikeyIdentityConfig();

Property apikeyIdentityConfig: API key identity configuration.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the consumer.


enableOptional

public java.lang.Object getEnable();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property enable: Whether to enable the consumer.


gatewayTypeOptional

public java.lang.Object getGatewayType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property gatewayType: The type of the gateway.


jwtIdentityConfigOptional

public java.lang.Object getJwtIdentityConfig();

Property jwtIdentityConfig: JWT identity configuration.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the consumer.