public static class CreateFleetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateFleetDetails |
build() |
CreateFleetDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment of the Fleet.
|
CreateFleetDetails.Builder |
copy(CreateFleetDetails model) |
CreateFleetDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateFleetDetails.Builder |
description(String description)
The Fleet’s description.
|
CreateFleetDetails.Builder |
displayName(String displayName)
The name of the Fleet.
|
CreateFleetDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
CreateFleetDetails.Builder |
inventoryLog(CustomLog inventoryLog) |
CreateFleetDetails.Builder |
isAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled)
Whether or not advanced features are enabled in this Fleet.
|
CreateFleetDetails.Builder |
operationLog(CustomLog operationLog) |
public CreateFleetDetails.Builder displayName(String displayName)
The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
displayName
- the value to setpublic CreateFleetDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment of the Fleet.
compartmentId
- the value to setpublic CreateFleetDetails.Builder description(String description)
The Fleet’s description. If nothing is provided, the Fleet description will be null.
description
- the value to setpublic CreateFleetDetails.Builder inventoryLog(CustomLog inventoryLog)
public CreateFleetDetails.Builder operationLog(CustomLog operationLog)
public CreateFleetDetails.Builder isAdvancedFeaturesEnabled(Boolean isAdvancedFeaturesEnabled)
Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration
API instead.
isAdvancedFeaturesEnabled
- the value to setpublic CreateFleetDetails.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"}}
. (See Understanding Free-form
Tags).
definedTags
- the value to setpublic CreateFleetDetails.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"}
. (See Managing Tags
and Tag
Namespaces.)
freeformTags
- the value to setpublic CreateFleetDetails build()
public CreateFleetDetails.Builder copy(CreateFleetDetails model)
Copyright © 2016–2024. All rights reserved.