Package com.oracle.bmc.waas.model
Class AddressList.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.AddressList.Builder
-
- Enclosing class:
- AddressList
public static class AddressList.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressList.BuilderaddressCount(BigDecimal addressCount)The total number of unique IP addresses in the address list.AddressList.Builderaddresses(List<String> addresses)The list of IP addresses or CIDR notations.AddressListbuild()AddressList.BuildercompartmentId(String compartmentId)The OCID of the address list’s compartment.AddressList.Buildercopy(AddressList model)AddressList.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AddressList.BuilderdisplayName(String displayName)The user-friendly name of the address list.AddressList.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AddressList.Builderid(String id)The OCID of the address list.AddressList.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the address list.AddressList.BuildertimeCreated(Date timeCreated)The date and time the address list was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public AddressList.Builder id(String id)
The OCID of the address list.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public AddressList.Builder compartmentId(String compartmentId)
The OCID of the address list’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public AddressList.Builder displayName(String displayName)
The user-friendly name of the address list.- Parameters:
displayName- the value to set- Returns:
- this builder
-
addressCount
public AddressList.Builder addressCount(BigDecimal addressCount)
The total number of unique IP addresses in the address list.- Parameters:
addressCount- the value to set- Returns:
- this builder
-
addresses
public AddressList.Builder addresses(List<String> addresses)
The list of IP addresses or CIDR notations.- Parameters:
addresses- the value to set- Returns:
- this builder
-
freeformTags
public AddressList.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 AddressList.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
-
lifecycleState
public AddressList.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the address list.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public AddressList.Builder timeCreated(Date timeCreated)
The date and time the address list was created, expressed in RFC 3339 timestamp format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public AddressList build()
-
copy
public AddressList.Builder copy(AddressList model)
-
-