public static class CreateFleetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
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
displayName
- the value to setpublic CreateFleetDetails.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic CreateFleetDetails.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic 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
fleetType
- the value to setpublic CreateFleetDetails.Builder products(List<String> products)
Products associated with the Fleet.
products
- the value to setpublic CreateFleetDetails.Builder applicationType(String applicationType)
Product stack associated with the Fleet. Applicable for ENVIRONMENT fleet types.
applicationType
- the value to setpublic CreateFleetDetails.Builder environmentType(String environmentType)
Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.
environmentType
- the value to setpublic CreateFleetDetails.Builder groupType(Fleet.GroupType groupType)
Group Type associated with Group Fleet.
groupType
- the value to setpublic CreateFleetDetails.Builder resourceSelectionType(Fleet.ResourceSelectionType resourceSelectionType)
Type of resource selection in a Fleet. Select resources manually or select resources based on rules.
resourceSelectionType
- the value to setpublic CreateFleetDetails.Builder ruleSelectionCriteria(SelectionCriteria ruleSelectionCriteria)
public CreateFleetDetails.Builder notificationPreferences(NotificationPreferences notificationPreferences)
public CreateFleetDetails.Builder resources(List<AssociatedFleetResourceDetails> resources)
Resources associated with the Fleet if resourceSelectionType is MANUAL.
resources
- the value to setpublic CreateFleetDetails.Builder credentials(List<AssociatedFleetCredentialDetails> credentials)
Credentials associated with the Fleet.
credentials
- the value to setpublic 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.
isTargetAutoConfirm
- 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"}
freeformTags
- 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"}}
definedTags
- the value to setpublic CreateFleetDetails build()
public CreateFleetDetails.Builder copy(CreateFleetDetails model)
Copyright © 2016–2024. All rights reserved.