Package com.oracle.bmc.core.model
Class ByoasnSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ByoasnSummary.Builder
-
- Enclosing class:
- ByoasnSummary
public static class ByoasnSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByoasnSummary.Builder
asn(Long asn)
The Autonomous System Number (ASN) you are importing to the Oracle cloud.ByoasnSummary
build()
ByoasnSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the Byoasn resource.ByoasnSummary.Builder
copy(ByoasnSummary model)
ByoasnSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ByoasnSummary.Builder
displayName(String displayName)
A user-friendly name.ByoasnSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ByoasnSummary.Builder
id(String id)
The OCID of the Byoasn resource.ByoasnSummary.Builder
lifecycleState(Byoasn.LifecycleState lifecycleState)
The Byoasn resource’s current state.ByoasnSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ByoasnSummary.Builder
timeCreated(Date timeCreated)
The date and time the Byoasn resource was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
asn
public ByoasnSummary.Builder asn(Long asn)
The Autonomous System Number (ASN) you are importing to the Oracle cloud.- Parameters:
asn
- the value to set- Returns:
- this builder
-
compartmentId
public ByoasnSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the Byoasn resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ByoasnSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
definedTags
public ByoasnSummary.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
-
freeformTags
public ByoasnSummary.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
-
systemTags
public ByoasnSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
id
public ByoasnSummary.Builder id(String id)
The OCID of the Byoasn resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public ByoasnSummary.Builder lifecycleState(Byoasn.LifecycleState lifecycleState)
The Byoasn resource’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ByoasnSummary.Builder timeCreated(Date timeCreated)
The date and time the Byoasn resource was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public ByoasnSummary build()
-
copy
public ByoasnSummary.Builder copy(ByoasnSummary model)
-
-