Class UpdateAndPropagateTagsDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.UpdateAndPropagateTagsDetails.Builder
-
- Enclosing class:
- UpdateAndPropagateTagsDetails
public static class UpdateAndPropagateTagsDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAndPropagateTagsDetails.Builder
associationTypes(List<String> associationTypes)
Association types that will be traversed recursively starting from the current resource, to identify resources for which the tags will be updated.UpdateAndPropagateTagsDetails
build()
UpdateAndPropagateTagsDetails.Builder
copy(UpdateAndPropagateTagsDetails model)
UpdateAndPropagateTagsDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateAndPropagateTagsDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
-
-
-
Method Detail
-
freeformTags
public UpdateAndPropagateTagsDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateAndPropagateTagsDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
associationTypes
public UpdateAndPropagateTagsDetails.Builder associationTypes(List<String> associationTypes)
Association types that will be traversed recursively starting from the current resource, to identify resources for which the tags will be updated.If no association type is specified, only current resource will be updated. Default is empty list, which means no related resources will be updated.
- Parameters:
associationTypes
- the value to set- Returns:
- this builder
-
build
public UpdateAndPropagateTagsDetails build()
-
copy
public UpdateAndPropagateTagsDetails.Builder copy(UpdateAndPropagateTagsDetails model)
-
-