Package com.oracle.bmc.servicemesh.model
Class CreateVirtualDeploymentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.CreateVirtualDeploymentDetails.Builder
-
- Enclosing class:
- CreateVirtualDeploymentDetails
public static class CreateVirtualDeploymentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
virtualServiceId
public CreateVirtualDeploymentDetails.Builder virtualServiceId(String virtualServiceId)
The OCID of the service mesh in which this access policy is created.- Parameters:
virtualServiceId
- the value to set- Returns:
- this builder
-
name
public CreateVirtualDeploymentDetails.Builder name(String name)
A user-friendly name.The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information.
Example: My unique resource name
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public CreateVirtualDeploymentDetails.Builder description(String description)
Description of the resource.It can be changed after creation. Avoid entering confidential information.
Example: This is my new resource
- Parameters:
description
- the value to set- Returns:
- this builder
-
serviceDiscovery
public CreateVirtualDeploymentDetails.Builder serviceDiscovery(ServiceDiscoveryConfiguration serviceDiscovery)
-
listeners
public CreateVirtualDeploymentDetails.Builder listeners(List<VirtualDeploymentListener> listeners)
The listeners for the virtual deployment.- Parameters:
listeners
- the value to set- Returns:
- this builder
-
accessLogging
public CreateVirtualDeploymentDetails.Builder accessLogging(AccessLoggingConfiguration accessLogging)
-
compartmentId
public CreateVirtualDeploymentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateVirtualDeploymentDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateVirtualDeploymentDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateVirtualDeploymentDetails build()
-
copy
public CreateVirtualDeploymentDetails.Builder copy(CreateVirtualDeploymentDetails model)
-
-