Class CreateFleetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CreateFleetDetails.Builder
-
- Enclosing class:
- CreateFleetDetails
public static class CreateFleetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateFleetDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateFleetDetails.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateFleetDetails.Builder compartmentId(String compartmentId)
Tenancy OCID- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
fleetType
public CreateFleetDetails.Builder fleetType(Fleet.FleetType fleetType)
Type of the Fleet.PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes
- Parameters:
fleetType
- the value to set- Returns:
- this builder
-
products
public CreateFleetDetails.Builder products(List<String> products)
Products associated with the Fleet.- Parameters:
products
- the value to set- Returns:
- this builder
-
applicationType
public CreateFleetDetails.Builder applicationType(String applicationType)
Product stack associated with the Fleet.Applicable for ENVIRONMENT fleet types.
- Parameters:
applicationType
- the value to set- Returns:
- this builder
-
environmentType
public CreateFleetDetails.Builder environmentType(String environmentType)
Environment Type associated with the Fleet.Applicable for ENVIRONMENT fleet types.
- Parameters:
environmentType
- the value to set- Returns:
- this builder
-
groupType
public CreateFleetDetails.Builder groupType(Fleet.GroupType groupType)
Group Type associated with Group Fleet.- Parameters:
groupType
- the value to set- Returns:
- this builder
-
resourceSelectionType
public CreateFleetDetails.Builder resourceSelectionType(Fleet.ResourceSelectionType resourceSelectionType)
Type of resource selection in a Fleet.Select resources manually or select resources based on rules.
- Parameters:
resourceSelectionType
- the value to set- Returns:
- this builder
-
ruleSelectionCriteria
public CreateFleetDetails.Builder ruleSelectionCriteria(SelectionCriteria ruleSelectionCriteria)
-
notificationPreferences
public CreateFleetDetails.Builder notificationPreferences(NotificationPreferences notificationPreferences)
-
resources
public CreateFleetDetails.Builder resources(List<AssociatedFleetResourceDetails> resources)
Resources associated with the Fleet if resourceSelectionType is MANUAL.- Parameters:
resources
- the value to set- Returns:
- this builder
-
credentials
public CreateFleetDetails.Builder credentials(List<AssociatedFleetCredentialDetails> credentials)
Credentials associated with the Fleet.- Parameters:
credentials
- the value to set- Returns:
- this builder
-
isTargetAutoConfirm
public CreateFleetDetails.Builder isTargetAutoConfirm(Boolean isTargetAutoConfirm)
A value that represents if auto-confirming of the targets can be enabled.This will allow targets to be auto-confirmed in the fleet without manual intervention.
- Parameters:
isTargetAutoConfirm
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateFleetDetails build()
-
copy
public CreateFleetDetails.Builder copy(CreateFleetDetails model)
-
-