Class Gateway.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.Gateway.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Gatewaybuild()Gateway.BuildercaBundles(List<CaBundle> caBundles)An array of CA bundles that should be used on the Gateway for TLS validation.Gateway.BuildercertificateId(String certificateId)The OCID of the resource.Gateway.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the resource is created.Gateway.Buildercopy(Gateway model)Gateway.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Gateway.BuilderdisplayName(String displayName)A user-friendly name.Gateway.BuilderendpointType(Gateway.EndpointType endpointType)Gateway endpoint type.Gateway.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Gateway.Builderhostname(String hostname)The hostname for APIs deployed on the gateway.Gateway.Builderid(String id)The OCID of the resource.Gateway.BuilderipAddresses(List<IpAddress> ipAddresses)An array of IP addresses associated with the gateway.Gateway.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Gateway.BuilderlifecycleState(Gateway.LifecycleState lifecycleState)The current state of the gateway.Gateway.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.Gateway.BuildernetworkSecurityGroupIds(List<String> networkSecurityGroupIds)An array of Network Security Groups OCIDs associated with this API Gateway.Gateway.BuilderresponseCacheDetails(ResponseCacheDetails responseCacheDetails)Gateway.BuildersubnetId(String subnetId)The OCID of the subnet in which related resources are created.Gateway.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Gateway.BuildertimeCreated(Date timeCreated)The time this resource was created.Gateway.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic Gateway.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Gateway.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example: My new resource - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Gateway.Builder compartmentId(String compartmentId) The OCID of the compartment in which the resource is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
endpointTypepublic Gateway.Builder endpointType(Gateway.EndpointType endpointType) Gateway endpoint type.PUBLIC will have a public ip address assigned to it, while PRIVATE will only be accessible on a private IP address on the subnet. Example: PUBLIC or PRIVATE - Parameters:
- endpointType- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic Gateway.Builder subnetId(String subnetId) The OCID of the subnet in which related resources are created.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
networkSecurityGroupIdspublic Gateway.Builder networkSecurityGroupIds(List<String> networkSecurityGroupIds) An array of Network Security Groups OCIDs associated with this API Gateway.- Parameters:
- networkSecurityGroupIds- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Gateway.Builder timeCreated(Date timeCreated) The time this resource was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Gateway.Builder timeUpdated(Date timeUpdated) The time this resource was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Gateway.Builder lifecycleState(Gateway.LifecycleState lifecycleState) The current state of the gateway.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Gateway.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
 
 - 
lockspublic Gateway.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
hostnamepublic Gateway.Builder hostname(String hostname) The hostname for APIs deployed on the gateway.- Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
certificateIdpublic Gateway.Builder certificateId(String certificateId) The OCID of the resource.- Parameters:
- certificateId- the value to set
- Returns:
- this builder
 
 - 
ipAddressespublic Gateway.Builder ipAddresses(List<IpAddress> ipAddresses) An array of IP addresses associated with the gateway.- Parameters:
- ipAddresses- the value to set
- Returns:
- this builder
 
 - 
responseCacheDetailspublic Gateway.Builder responseCacheDetails(ResponseCacheDetails responseCacheDetails) 
 - 
freeformTagspublic Gateway.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
 
 - 
definedTagspublic Gateway.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
 
 - 
systemTagspublic Gateway.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
caBundlespublic Gateway.Builder caBundles(List<CaBundle> caBundles) An array of CA bundles that should be used on the Gateway for TLS validation.- Parameters:
- caBundles- the value to set
- Returns:
- this builder
 
 - 
buildpublic Gateway build() 
 - 
copypublic Gateway.Builder copy(Gateway model) 
 
- 
 
-