Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Tenancy |
build() |
Tenancy.Builder |
copy(Tenancy model) |
Tenancy.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Tenancy.Builder |
description(String description)
The description of the tenancy.
|
Tenancy.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Tenancy.Builder |
homeRegionKey(String homeRegionKey)
The region key for the tenancy’s home region.
|
Tenancy.Builder |
id(String id)
The OCID of the tenancy.
|
Tenancy.Builder |
name(String name)
The name of the tenancy.
|
Tenancy.Builder |
upiIdcsCompatibilityLayerEndpoint(String upiIdcsCompatibilityLayerEndpoint)
Url which refers to the UPI IDCS compatibility layer endpoint configured for this
Tenant’s home region.
|
public Tenancy.Builder id(String id)
The OCID of the tenancy.
id
- the value to setpublic Tenancy.Builder name(String name)
The name of the tenancy.
name
- the value to setpublic Tenancy.Builder description(String description)
The description of the tenancy.
description
- the value to setpublic Tenancy.Builder homeRegionKey(String homeRegionKey)
The region key for the tenancy’s home region. For the full list of supported regions, see Regions and Availability Domains.
Example: PHX
homeRegionKey
- the value to setpublic Tenancy.Builder upiIdcsCompatibilityLayerEndpoint(String upiIdcsCompatibilityLayerEndpoint)
Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant’s home region.
upiIdcsCompatibilityLayerEndpoint
- the value to setpublic Tenancy.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 Tenancy.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 Tenancy build()
public Tenancy.Builder copy(Tenancy model)
Copyright © 2016–2024. All rights reserved.