Class Service.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.Service.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Service
build()
Service.Builder
cidrBlock(String cidrBlock)
A string that represents the regional public IP address ranges for the Oracle service or services covered by this Service object.Service.Builder
copy(Service model)
Service.Builder
description(String description)
Description of the Oracle service or services covered by this Service object.Service.Builder
id(String id)
The Service object’s OCID.Service.Builder
name(String name)
Name of the Service object.
-
-
-
Method Detail
-
cidrBlock
public Service.Builder cidrBlock(String cidrBlock)
A string that represents the regional public IP address ranges for the Oracle service or services covered by this Service object.Also known as the Service object’s service CIDR label.
When you set up a route rule to route traffic to the service gateway, use this value as the rule's destination. See
RouteTable
. Also, when you set up a security list rule to cover traffic with the service gateway, use the cidrBlock value as the rule's destination (for an egress rule) or the source (for an ingress rule). SeeSecurityList
.Example: oci-phx-objectstorage
- Parameters:
cidrBlock
- the value to set- Returns:
- this builder
-
description
public Service.Builder description(String description)
Description of the Oracle service or services covered by this Service object.Example: OCI PHX Object Storage
- Parameters:
description
- the value to set- Returns:
- this builder
-
id
public Service.Builder id(String id)
The Service object’s OCID.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public Service.Builder name(String name)
Name of the Service object.This name can change and is not guaranteed to be unique.
Example: OCI PHX Object Storage
- Parameters:
name
- the value to set- Returns:
- this builder
-
build
public Service build()
-
copy
public Service.Builder copy(Service model)
-
-