Package com.oracle.bmc.datasafe.model
Class DataSafeConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DataSafeConfiguration.Builder
-
- Enclosing class:
- DataSafeConfiguration
public static class DataSafeConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isEnabled
public DataSafeConfiguration.Builder isEnabled(Boolean isEnabled)
Indicates if Data Safe is enabled.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
url
public DataSafeConfiguration.Builder url(String url)
The URL of the Data Safe service.- Parameters:
url
- the value to set- Returns:
- this builder
-
compartmentId
public DataSafeConfiguration.Builder compartmentId(String compartmentId)
The OCID of the tenancy used to enable Data Safe.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeEnabled
public DataSafeConfiguration.Builder timeEnabled(Date timeEnabled)
The date and time Data Safe was enabled, in the format defined by RFC3339.- Parameters:
timeEnabled
- the value to set- Returns:
- this builder
-
lifecycleState
public DataSafeConfiguration.Builder lifecycleState(LifecycleState lifecycleState)
The current state of Data Safe.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
dataSafeNatGatewayIpAddress
public DataSafeConfiguration.Builder dataSafeNatGatewayIpAddress(String dataSafeNatGatewayIpAddress)
The Oracle Data Safe’s NAT Gateway IP Address.- Parameters:
dataSafeNatGatewayIpAddress
- the value to set- Returns:
- this builder
-
globalSettings
public DataSafeConfiguration.Builder globalSettings(GlobalSettings globalSettings)
-
freeformTags
public DataSafeConfiguration.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DataSafeConfiguration.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public DataSafeConfiguration build()
-
copy
public DataSafeConfiguration.Builder copy(DataSafeConfiguration model)
-
-