Package com.oracle.bmc.oda.model
Class OdaPrivateEndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.OdaPrivateEndpointSummary.Builder
-
- Enclosing class:
- OdaPrivateEndpointSummary
public static class OdaPrivateEndpointSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdaPrivateEndpointSummary
build()
OdaPrivateEndpointSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that the ODA private endpoint belongs to.OdaPrivateEndpointSummary.Builder
copy(OdaPrivateEndpointSummary model)
OdaPrivateEndpointSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.OdaPrivateEndpointSummary.Builder
description(String description)
Description of the ODA private endpoint.OdaPrivateEndpointSummary.Builder
displayName(String displayName)
User-defined name for the ODA private endpoint.OdaPrivateEndpointSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.OdaPrivateEndpointSummary.Builder
id(String id)
The OCID that was assigned when the ODA private endpoint was created.OdaPrivateEndpointSummary.Builder
lifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState)
The current state of the ODA private endpoint.OdaPrivateEndpointSummary.Builder
timeCreated(Date timeCreated)
When the resource was created.OdaPrivateEndpointSummary.Builder
timeUpdated(Date timeUpdated)
When the resource was last updated.
-
-
-
Method Detail
-
id
public OdaPrivateEndpointSummary.Builder id(String id)
The OCID that was assigned when the ODA private endpoint was created.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public OdaPrivateEndpointSummary.Builder displayName(String displayName)
User-defined name for the ODA private endpoint.Avoid entering confidential information. You can change this value.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public OdaPrivateEndpointSummary.Builder description(String description)
Description of the ODA private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public OdaPrivateEndpointSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that the ODA private endpoint belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public OdaPrivateEndpointSummary.Builder timeCreated(Date timeCreated)
When the resource was created.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OdaPrivateEndpointSummary.Builder timeUpdated(Date timeUpdated)
When the resource was last updated.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public OdaPrivateEndpointSummary.Builder lifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState)
The current state of the ODA private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public OdaPrivateEndpointSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public OdaPrivateEndpointSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public OdaPrivateEndpointSummary build()
-
copy
public OdaPrivateEndpointSummary.Builder copy(OdaPrivateEndpointSummary model)
-
-