Package com.oracle.bmc.logging.model
Class UpdateLogDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.logging.model.UpdateLogDetails.Builder
-
- Enclosing class:
- UpdateLogDetails
public static class UpdateLogDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLogDetails
build()
UpdateLogDetails.Builder
configuration(UpdateConfigurationDetails configuration)
UpdateLogDetails.Builder
copy(UpdateLogDetails model)
UpdateLogDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateLogDetails.Builder
displayName(String displayName)
The user-friendly display name.UpdateLogDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateLogDetails.Builder
isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.UpdateLogDetails.Builder
retentionDuration(Integer retentionDuration)
Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
-
-
-
Method Detail
-
displayName
public UpdateLogDetails.Builder displayName(String displayName)
The user-friendly display name.This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isEnabled
public UpdateLogDetails.Builder isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
definedTags
public UpdateLogDetails.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
-
freeformTags
public UpdateLogDetails.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
-
retentionDuration
public UpdateLogDetails.Builder retentionDuration(Integer retentionDuration)
Log retention duration in 30-day increments (30, 60, 90 and so on until 180).- Parameters:
retentionDuration
- the value to set- Returns:
- this builder
-
configuration
public UpdateLogDetails.Builder configuration(UpdateConfigurationDetails configuration)
-
build
public UpdateLogDetails build()
-
copy
public UpdateLogDetails.Builder copy(UpdateLogDetails model)
-
-