Package com.oracle.bmc.servicemesh.model
Class IngressGateway.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.IngressGateway.Builder
-
- Enclosing class:
- IngressGateway
public static class IngressGateway.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressGateway.Builder
accessLogging(AccessLoggingConfiguration accessLogging)
IngressGateway
build()
IngressGateway.Builder
compartmentId(String compartmentId)
The OCID of the compartment.IngressGateway.Builder
copy(IngressGateway model)
IngressGateway.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.IngressGateway.Builder
description(String description)
Description of the resource.IngressGateway.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.IngressGateway.Builder
hosts(List<IngressGatewayHost> hosts)
Array of hostnames and their listener configuration that this gateway will bind to.IngressGateway.Builder
id(String id)
Unique identifier that is immutable on creation.IngressGateway.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.IngressGateway.Builder
lifecycleState(IngressGateway.LifecycleState lifecycleState)
The current state of the Resource.IngressGateway.Builder
meshId(String meshId)
The OCID of the service mesh in which this ingress gateway is created.IngressGateway.Builder
mtls(IngressGatewayMutualTransportLayerSecurity mtls)
IngressGateway.Builder
name(String name)
A user-friendly name.IngressGateway.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.IngressGateway.Builder
timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.IngressGateway.Builder
timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.
-
-
-
Method Detail
-
id
public IngressGateway.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public IngressGateway.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 IngressGateway.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 IngressGateway.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
-
compartmentId
public IngressGateway.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public IngressGateway.Builder timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public IngressGateway.Builder timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
hosts
public IngressGateway.Builder hosts(List<IngressGatewayHost> hosts)
Array of hostnames and their listener configuration that this gateway will bind to.- Parameters:
hosts
- the value to set- Returns:
- this builder
-
mtls
public IngressGateway.Builder mtls(IngressGatewayMutualTransportLayerSecurity mtls)
-
accessLogging
public IngressGateway.Builder accessLogging(AccessLoggingConfiguration accessLogging)
-
lifecycleState
public IngressGateway.Builder lifecycleState(IngressGateway.LifecycleState lifecycleState)
The current state of the Resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public IngressGateway.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in a Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public IngressGateway.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 IngressGateway.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
-
systemTags
public IngressGateway.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public IngressGateway build()
-
copy
public IngressGateway.Builder copy(IngressGateway model)
-
-