Package com.oracle.bmc.servicemesh.model
Class CreateIngressGatewayDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.CreateIngressGatewayDetails.Builder
-
- Enclosing class:
- CreateIngressGatewayDetails
public static class CreateIngressGatewayDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
public CreateIngressGatewayDetails.Builder name(String name)
A user-friendly name.The name has to be unique within the same service mesh 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 CreateIngressGatewayDetails.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
-
meshId
public CreateIngressGatewayDetails.Builder meshId(String meshId)
The OCID of the service mesh in which this ingress gateway is created.- Parameters:
meshId
- the value to set- Returns:
- this builder
-
hosts
public CreateIngressGatewayDetails.Builder hosts(List<IngressGatewayHost> hosts)
An array of hostnames and their listener configuration that this gateway will bind to.- Parameters:
hosts
- the value to set- Returns:
- this builder
-
accessLogging
public CreateIngressGatewayDetails.Builder accessLogging(AccessLoggingConfiguration accessLogging)
-
mtls
public CreateIngressGatewayDetails.Builder mtls(IngressGatewayMutualTransportLayerSecurityDetails mtls)
-
compartmentId
public CreateIngressGatewayDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateIngressGatewayDetails.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 CreateIngressGatewayDetails.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 CreateIngressGatewayDetails build()
-
copy
public CreateIngressGatewayDetails.Builder copy(CreateIngressGatewayDetails model)
-
-