Package com.pulumi.alicloud.alikafka
Class TopicArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.alikafka.TopicArgs.Builder
-
- Enclosing class:
- TopicArgs
public static final class TopicArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicArgs
build()
TopicArgs.Builder
compactTopic(com.pulumi.core.Output<java.lang.Boolean> compactTopic)
TopicArgs.Builder
compactTopic(java.lang.Boolean compactTopic)
TopicArgs.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
TopicArgs.Builder
instanceId(java.lang.String instanceId)
TopicArgs.Builder
localTopic(com.pulumi.core.Output<java.lang.Boolean> localTopic)
TopicArgs.Builder
localTopic(java.lang.Boolean localTopic)
TopicArgs.Builder
partitionNum(com.pulumi.core.Output<java.lang.Integer> partitionNum)
TopicArgs.Builder
partitionNum(java.lang.Integer partitionNum)
TopicArgs.Builder
remark(com.pulumi.core.Output<java.lang.String> remark)
TopicArgs.Builder
remark(java.lang.String remark)
TopicArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
TopicArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
TopicArgs.Builder
topic(com.pulumi.core.Output<java.lang.String> topic)
TopicArgs.Builder
topic(java.lang.String topic)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TopicArgs defaults)
-
-
Method Detail
-
compactTopic
public TopicArgs.Builder compactTopic(@Nullable com.pulumi.core.Output<java.lang.Boolean> compactTopic)
- Parameters:
compactTopic
- Whether the topic is compactTopic or not. Compact topic must be a localTopic.- Returns:
- builder
-
compactTopic
public TopicArgs.Builder compactTopic(java.lang.Boolean compactTopic)
- Parameters:
compactTopic
- Whether the topic is compactTopic or not. Compact topic must be a localTopic.- Returns:
- builder
-
instanceId
public TopicArgs.Builder instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
- Parameters:
instanceId
- InstanceId of your Kafka resource, the topic will create in this instance.- Returns:
- builder
-
instanceId
public TopicArgs.Builder instanceId(java.lang.String instanceId)
- Parameters:
instanceId
- InstanceId of your Kafka resource, the topic will create in this instance.- Returns:
- builder
-
localTopic
public TopicArgs.Builder localTopic(@Nullable com.pulumi.core.Output<java.lang.Boolean> localTopic)
- Parameters:
localTopic
- Whether the topic is localTopic or not.- Returns:
- builder
-
localTopic
public TopicArgs.Builder localTopic(java.lang.Boolean localTopic)
- Parameters:
localTopic
- Whether the topic is localTopic or not.- Returns:
- builder
-
partitionNum
public TopicArgs.Builder partitionNum(@Nullable com.pulumi.core.Output<java.lang.Integer> partitionNum)
- Parameters:
partitionNum
- The number of partitions of the topic. The number should between 1 and 48.- Returns:
- builder
-
partitionNum
public TopicArgs.Builder partitionNum(java.lang.Integer partitionNum)
- Parameters:
partitionNum
- The number of partitions of the topic. The number should between 1 and 48.- Returns:
- builder
-
remark
public TopicArgs.Builder remark(com.pulumi.core.Output<java.lang.String> remark)
- Parameters:
remark
- This attribute is a concise description of topic. The length cannot exceed 64.- Returns:
- builder
-
remark
public TopicArgs.Builder remark(java.lang.String remark)
- Parameters:
remark
- This attribute is a concise description of topic. The length cannot exceed 64.- Returns:
- builder
-
tags
public TopicArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
tags
public TopicArgs.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
topic
public TopicArgs.Builder topic(com.pulumi.core.Output<java.lang.String> topic)
- Parameters:
topic
- Name of the topic. Two topics on a single instance cannot have the same name. The length cannot exceed 249 characters.- Returns:
- builder
-
topic
public TopicArgs.Builder topic(java.lang.String topic)
- Parameters:
topic
- Name of the topic. Two topics on a single instance cannot have the same name. The length cannot exceed 249 characters.- Returns:
- builder
-
build
public TopicArgs build()
-
-