public static class ResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceSummary.Builder |
additionalDetails(Map<String,Object> additionalDetails)
Additional resource attribute fields of this resource that match queries with a return
clause, if any.
|
ResourceSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain where this resource exists, if applicable.
|
ResourceSummary |
build() |
ResourceSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this resource.
|
ResourceSummary.Builder |
copy(ResourceSummary model) |
ResourceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ResourceSummary.Builder |
displayName(String displayName)
The display name (or name) of this resource, if one exists.
|
ResourceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ResourceSummary.Builder |
identifier(String identifier)
The unique identifier for this particular resource, usually an OCID.
|
ResourceSummary.Builder |
identityContext(Map<String,Object> identityContext)
Additional identifiers to use together in a “Get” request for a specified resource, only
required for resource types that explicitly cannot be retrieved by using a single
identifier, such as the resource’s OCID.
|
ResourceSummary.Builder |
lifecycleState(String lifecycleState)
The lifecycle state of this resource, if applicable.
|
ResourceSummary.Builder |
resourceType(String resourceType)
The resource type name.
|
ResourceSummary.Builder |
searchContext(SearchContext searchContext) |
ResourceSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags associated with this resource, if any.
|
ResourceSummary.Builder |
timeCreated(Date timeCreated)
The time that this resource was created.
|
public ResourceSummary.Builder resourceType(String resourceType)
The resource type name.
resourceType
- the value to setpublic ResourceSummary.Builder identifier(String identifier)
The unique identifier for this particular resource, usually an OCID.
identifier
- the value to setpublic ResourceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this resource.
compartmentId
- the value to setpublic ResourceSummary.Builder timeCreated(Date timeCreated)
The time that this resource was created.
timeCreated
- the value to setpublic ResourceSummary.Builder displayName(String displayName)
The display name (or name) of this resource, if one exists.
displayName
- the value to setpublic ResourceSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain where this resource exists, if applicable.
availabilityDomain
- the value to setpublic ResourceSummary.Builder lifecycleState(String lifecycleState)
The lifecycle state of this resource, if applicable.
lifecycleState
- the value to setpublic ResourceSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic ResourceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic ResourceSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags associated with this resource, if any. System tags are set by Oracle Cloud
Infrastructure services. Each key is predefined and scoped to namespaces. For more
information, see Resource
Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic ResourceSummary.Builder searchContext(SearchContext searchContext)
public ResourceSummary.Builder identityContext(Map<String,Object> identityContext)
Additional identifiers to use together in a “Get” request for a specified resource, only required for resource types that explicitly cannot be retrieved by using a single identifier, such as the resource’s OCID.
identityContext
- the value to setpublic ResourceSummary.Builder additionalDetails(Map<String,Object> additionalDetails)
additionalDetails
- the value to setpublic ResourceSummary build()
public ResourceSummary.Builder copy(ResourceSummary model)
Copyright © 2016–2024. All rights reserved.