Package com.oracle.bmc.identity.model
Class Tenancy.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.Tenancy.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tenancybuild()Tenancy.Buildercopy(Tenancy model)Tenancy.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Tenancy.Builderdescription(String description)The description of the tenancy.Tenancy.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Tenancy.BuilderhomeRegionKey(String homeRegionKey)The region key for the tenancy’s home region.Tenancy.Builderid(String id)The OCID of the tenancy.Tenancy.Buildername(String name)The name of the tenancy.Tenancy.BuilderupiIdcsCompatibilityLayerEndpoint(String upiIdcsCompatibilityLayerEndpoint)Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant’s home region.
-
-
-
Method Detail
-
id
public Tenancy.Builder id(String id)
The OCID of the tenancy.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public Tenancy.Builder name(String name)
The name of the tenancy.- Parameters:
name- the value to set- Returns:
- this builder
-
description
public Tenancy.Builder description(String description)
The description of the tenancy.- Parameters:
description- the value to set- Returns:
- this builder
-
homeRegionKey
public 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
- Parameters:
homeRegionKey- the value to set- Returns:
- this builder
-
upiIdcsCompatibilityLayerEndpoint
public Tenancy.Builder upiIdcsCompatibilityLayerEndpoint(String upiIdcsCompatibilityLayerEndpoint)
Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant’s home region.- Parameters:
upiIdcsCompatibilityLayerEndpoint- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public Tenancy build()
-
copy
public Tenancy.Builder copy(Tenancy model)
-
-