Package com.oracle.bmc.ons.model
Class CreateTopicDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ons.model.CreateTopicDetails.Builder
 
- 
- Enclosing class:
- CreateTopicDetails
 
 public static class CreateTopicDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTopicDetailsbuild()CreateTopicDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the topic in.CreateTopicDetails.Buildercopy(CreateTopicDetails model)CreateTopicDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateTopicDetails.Builderdescription(String description)The description of the topic being created.CreateTopicDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateTopicDetails.Buildername(String name)The name of the topic being created.
 
- 
- 
- 
Method Detail- 
namepublic 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. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateTopicDetails.Builder compartmentId(String compartmentId) The OCID of the compartment to create the topic in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateTopicDetails.Builder description(String description) The description of the topic being created.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateTopicDetails build() 
 - 
copypublic CreateTopicDetails.Builder copy(CreateTopicDetails model) 
 
- 
 
-