public static class FleetResource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetResource.Builder |
applicationType(String applicationType)
Application Type associated with the resource when the resource type is fleet.
|
FleetResource |
build() |
FleetResource.Builder |
compartment(String compartment)
Resource Compartment name.
|
FleetResource.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
FleetResource.Builder |
complianceState(ComplianceState complianceState)
Compliance State of the Resource.
|
FleetResource.Builder |
copy(FleetResource model) |
FleetResource.Builder |
displayName(String displayName)
A user-friendly name.
|
FleetResource.Builder |
environmentType(String environmentType)
Environment Type associated with the Fleet when the resource type is fleet.
|
FleetResource.Builder |
id(String id)
The unique id of the resource.
|
FleetResource.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
FleetResource.Builder |
lifecycleState(FleetResource.LifecycleState lifecycleState)
The current state of the FleetResource.
|
FleetResource.Builder |
product(String product)
Product associated with the resource when the resource type is fleet.
|
FleetResource.Builder |
productCount(Integer productCount)
Count of products within the resource.
|
FleetResource.Builder |
resourceId(String resourceId)
The OCID of the resource.
|
FleetResource.Builder |
resourceRegion(String resourceRegion)
Associated region
|
FleetResource.Builder |
resourceType(String resourceType)
Type of the Resource.
|
FleetResource.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
FleetResource.Builder |
targetCount(Integer targetCount)
Count of targets within the resource.
|
FleetResource.Builder |
tenancyId(String tenancyId)
OCID of the tenancy to which the resource belongs to.
|
FleetResource.Builder |
tenancyName(String tenancyName)
Resource Tenancy Name.
|
FleetResource.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
FleetResource.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public FleetResource.Builder id(String id)
The unique id of the resource.
id
- the value to setpublic FleetResource.Builder tenancyId(String tenancyId)
OCID of the tenancy to which the resource belongs to.
tenancyId
- the value to setpublic FleetResource.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic FleetResource.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic FleetResource.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic FleetResource.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic FleetResource.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 FleetResource.Builder resourceId(String resourceId)
The OCID of the resource.
resourceId
- the value to setpublic FleetResource.Builder compartment(String compartment)
Resource Compartment name.
compartment
- the value to setpublic FleetResource.Builder complianceState(ComplianceState complianceState)
Compliance State of the Resource.
complianceState
- the value to setpublic FleetResource.Builder tenancyName(String tenancyName)
Resource Tenancy Name.
tenancyName
- the value to setpublic FleetResource.Builder resourceType(String resourceType)
Type of the Resource.
resourceType
- the value to setpublic FleetResource.Builder productCount(Integer productCount)
Count of products within the resource.
productCount
- the value to setpublic FleetResource.Builder targetCount(Integer targetCount)
Count of targets within the resource.
targetCount
- the value to setpublic FleetResource.Builder product(String product)
Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet.
product
- the value to setpublic FleetResource.Builder applicationType(String applicationType)
Application Type associated with the resource when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
applicationType
- the value to setpublic FleetResource.Builder environmentType(String environmentType)
Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
environmentType
- the value to setpublic FleetResource.Builder lifecycleState(FleetResource.LifecycleState lifecycleState)
The current state of the FleetResource.
lifecycleState
- the value to setpublic FleetResource.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 FleetResource.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 FleetResource build()
public FleetResource.Builder copy(FleetResource model)
Copyright © 2016–2024. All rights reserved.