public static class CreateTopicDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTopicDetails |
build() |
CreateTopicDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment to create the topic in.
|
CreateTopicDetails.Builder |
copy(CreateTopicDetails model) |
CreateTopicDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateTopicDetails.Builder |
description(String description)
The description of the topic being created.
|
CreateTopicDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateTopicDetails.Builder |
name(String name)
The name of the topic being created.
|
public CreateTopicDetails.Builder name(String name)
The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information.
name
- the value to setpublic CreateTopicDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the topic in.
compartmentId
- the value to setpublic CreateTopicDetails.Builder description(String description)
The description of the topic being created. Avoid entering confidential information.
description
- the value to setpublic CreateTopicDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic CreateTopicDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateTopicDetails build()
public CreateTopicDetails.Builder copy(CreateTopicDetails model)
Copyright © 2016–2024. All rights reserved.