Package com.oracle.bmc.multicloud.model
Class MulticloudResourceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.MulticloudResourceSummary.Builder
-
- Enclosing class:
- MulticloudResourceSummary
public static class MulticloudResourceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticloudResourceSummarybuild()MulticloudResourceSummary.BuildercompartmentId(String compartmentId)Id of the compartment associated with the resource.MulticloudResourceSummary.BuildercompartmentName(String compartmentName)Name of the compartment associated with the resource.MulticloudResourceSummary.Buildercopy(MulticloudResourceSummary model)MulticloudResourceSummary.BuildercspAdditionalProperties(Map<String,String> cspAdditionalProperties)Properties specific to the cloud service provider.MulticloudResourceSummary.BuildercspResourceId(String cspResourceId)The resource Id that comes from the Multicloud control plane.MulticloudResourceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MulticloudResourceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MulticloudResourceSummary.BuilderlifecycleState(MulticloudResourceSummary.LifecycleState lifecycleState)The current state of the Multicloud resource.MulticloudResourceSummary.BuildernetworkAnchorId(String networkAnchorId)The OCID of the network anchor associated with the resource.MulticloudResourceSummary.BuildernetworkAnchorName(String networkAnchorName)Name of the network anchor associated with the resource.MulticloudResourceSummary.BuilderresourceAdditionalProperties(Map<String,Object> resourceAdditionalProperties)Additional attributes specific to certain resource types, used to construct a URL for accessing the resource in the OCI console.MulticloudResourceSummary.BuilderresourceDisplayName(String resourceDisplayName)Endpoint used to retrieve the resource’s display name and lifecycle state.MulticloudResourceSummary.BuilderresourceId(String resourceId)The Id of the multicloud resource.MulticloudResourceSummary.BuilderresourceType(String resourceType)Type of resource, such as VMCluster or ExaInfra,MulticloudResourceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MulticloudResourceSummary.BuildertimeCreated(Date timeCreated)The date and time the subscription was created, in the format defined by RFC 3339.MulticloudResourceSummary.BuildertimeUpdated(Date timeUpdated)The date and time the subscription was updated, in the format defined by RFC 3339.MulticloudResourceSummary.BuildervcnId(String vcnId)Id of the virtual cloud network (VCN) associated with the resource.MulticloudResourceSummary.BuildervcnName(String vcnName)Name of the virtual cloud network (VCN) associated with the resource.
-
-
-
Method Detail
-
resourceId
public MulticloudResourceSummary.Builder resourceId(String resourceId)
The Id of the multicloud resource.- Parameters:
resourceId- the value to set- Returns:
- this builder
-
resourceDisplayName
public MulticloudResourceSummary.Builder resourceDisplayName(String resourceDisplayName)
Endpoint used to retrieve the resource’s display name and lifecycle state.- Parameters:
resourceDisplayName- the value to set- Returns:
- this builder
-
resourceType
public MulticloudResourceSummary.Builder resourceType(String resourceType)
Type of resource, such as VMCluster or ExaInfra,- Parameters:
resourceType- the value to set- Returns:
- this builder
-
compartmentName
public MulticloudResourceSummary.Builder compartmentName(String compartmentName)
Name of the compartment associated with the resource.- Parameters:
compartmentName- the value to set- Returns:
- this builder
-
compartmentId
public MulticloudResourceSummary.Builder compartmentId(String compartmentId)
Id of the compartment associated with the resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
vcnName
public MulticloudResourceSummary.Builder vcnName(String vcnName)
Name of the virtual cloud network (VCN) associated with the resource.- Parameters:
vcnName- the value to set- Returns:
- this builder
-
vcnId
public MulticloudResourceSummary.Builder vcnId(String vcnId)
Id of the virtual cloud network (VCN) associated with the resource.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
networkAnchorName
public MulticloudResourceSummary.Builder networkAnchorName(String networkAnchorName)
Name of the network anchor associated with the resource.- Parameters:
networkAnchorName- the value to set- Returns:
- this builder
-
networkAnchorId
public MulticloudResourceSummary.Builder networkAnchorId(String networkAnchorId)
The OCID of the network anchor associated with the resource.- Parameters:
networkAnchorId- the value to set- Returns:
- this builder
-
cspResourceId
public MulticloudResourceSummary.Builder cspResourceId(String cspResourceId)
The resource Id that comes from the Multicloud control plane.- Parameters:
cspResourceId- the value to set- Returns:
- this builder
-
timeCreated
public MulticloudResourceSummary.Builder timeCreated(Date timeCreated)
The date and time the subscription was created, in the format defined by RFC 3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
cspAdditionalProperties
public MulticloudResourceSummary.Builder cspAdditionalProperties(Map<String,String> cspAdditionalProperties)
Properties specific to the cloud service provider.For example, AzureSubnetId for Azure.
- Parameters:
cspAdditionalProperties- the value to set- Returns:
- this builder
-
resourceAdditionalProperties
public MulticloudResourceSummary.Builder resourceAdditionalProperties(Map<String,Object> resourceAdditionalProperties)
Additional attributes specific to certain resource types, used to construct a URL for accessing the resource in the OCI console.- Parameters:
resourceAdditionalProperties- the value to set- Returns:
- this builder
-
timeUpdated
public MulticloudResourceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the subscription was updated, in the format defined by RFC 3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public MulticloudResourceSummary.Builder lifecycleState(MulticloudResourceSummary.LifecycleState lifecycleState)
The current state of the Multicloud resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public MulticloudResourceSummary.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 MulticloudResourceSummary.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
-
systemTags
public MulticloudResourceSummary.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"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public MulticloudResourceSummary build()
-
copy
public MulticloudResourceSummary.Builder copy(MulticloudResourceSummary model)
-
-