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