Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Fleet.Builder |
applicationType(String applicationType)
Product stack associated with the Fleet.
|
Fleet |
build() |
Fleet.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
Fleet.Builder |
copy(Fleet model) |
Fleet.Builder |
credentials(List<AssociatedFleetCredentialDetails> credentials)
Credentials associated with the Fleet.
|
Fleet.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Fleet.Builder |
description(String description)
A user-friendly description.
|
Fleet.Builder |
displayName(String displayName)
A user-friendly name.
|
Fleet.Builder |
environmentType(String environmentType)
Environment Type associated with the Fleet.
|
Fleet.Builder |
fleetType(Fleet.FleetType fleetType)
Type of the Fleet.
|
Fleet.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Fleet.Builder |
groupType(Fleet.GroupType groupType)
Group Type associated with Group Fleet.
|
Fleet.Builder |
id(String id)
The OCID of the resource.
|
Fleet.Builder |
isTargetAutoConfirm(Boolean isTargetAutoConfirm)
A value that represents if auto-confirming of the targets can be enabled.
|
Fleet.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Fleet.Builder |
lifecycleState(Fleet.LifecycleState lifecycleState)
The lifecycle state of the Fleet.
|
Fleet.Builder |
notificationPreferences(NotificationPreferences notificationPreferences) |
Fleet.Builder |
products(List<String> products)
Products associated with the Fleet.
|
Fleet.Builder |
properties(List<AssociatedFleetPropertyDetails> properties)
Properties associated with the Fleet.
|
Fleet.Builder |
resourceRegion(String resourceRegion)
Associated region
|
Fleet.Builder |
resources(List<AssociatedFleetResourceDetails> resources)
Resources associated with the Fleet if resourceSelectionType is MANUAL.
|
Fleet.Builder |
resourceSelectionType(Fleet.ResourceSelectionType resourceSelectionType)
Type of resource selection in a Fleet.
|
Fleet.Builder |
ruleSelectionCriteria(SelectionCriteria ruleSelectionCriteria) |
Fleet.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Fleet.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
Fleet.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public Fleet.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic Fleet.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic Fleet.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic Fleet.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 Fleet.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic Fleet.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Fleet.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Fleet.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 Fleet.Builder products(List<String> products)
Products associated with the Fleet.
products
- the value to setpublic Fleet.Builder applicationType(String applicationType)
Product stack associated with the Fleet. Applicable for ENVIRONMENT fleet types.
applicationType
- the value to setpublic Fleet.Builder environmentType(String environmentType)
Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.
environmentType
- the value to setpublic Fleet.Builder groupType(Fleet.GroupType groupType)
Group Type associated with Group Fleet. Applicable for GROUP fleet types.
groupType
- the value to setpublic Fleet.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 Fleet.Builder ruleSelectionCriteria(SelectionCriteria ruleSelectionCriteria)
public Fleet.Builder notificationPreferences(NotificationPreferences notificationPreferences)
public Fleet.Builder resources(List<AssociatedFleetResourceDetails> resources)
Resources associated with the Fleet if resourceSelectionType is MANUAL.
resources
- the value to setpublic Fleet.Builder properties(List<AssociatedFleetPropertyDetails> properties)
Properties associated with the Fleet.
properties
- the value to setpublic Fleet.Builder credentials(List<AssociatedFleetCredentialDetails> credentials)
Credentials associated with the Fleet.
credentials
- the value to setpublic Fleet.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 Fleet.Builder lifecycleState(Fleet.LifecycleState lifecycleState)
The lifecycle state of the Fleet.
lifecycleState
- the value to setpublic Fleet.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Fleet.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 Fleet.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 Fleet.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Fleet build()
public Fleet.Builder copy(Fleet model)
Copyright © 2016–2024. All rights reserved.