Class LogEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogEndpoint.Builder
-
- Enclosing class:
- LogEndpoint
public static class LogEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEndpointbuild()LogEndpoint.Buildercopy(LogEndpoint model)LogEndpoint.Buildercredentials(EndpointCredentials credentials)LogEndpoint.Builderdescription(String description)The endpoint description.LogEndpoint.BuilderendpointId(Long endpointId)The endpoint unique identifier.LogEndpoint.BuilderendpointProperties(List<LogAnalyticsProperty> endpointProperties)A list of endpoint properties.LogEndpoint.BuilderisEnabled(Boolean isEnabled)A flag indicating whether or not the endpoint is enabled for log collection.LogEndpoint.BuilderisSystem(Boolean isSystem)The system flag.LogEndpoint.Buildermodel(String model)The endpoint model.LogEndpoint.Buildername(String name)The endpoint name.LogEndpoint.Builderproxy(EndpointProxy proxy)LogEndpoint.Builderrequest(EndpointRequest request)LogEndpoint.Builderresponse(EndpointResponse response)
-
-
-
Method Detail
-
name
public LogEndpoint.Builder name(String name)
The endpoint name.- Parameters:
name- the value to set- Returns:
- this builder
-
description
public LogEndpoint.Builder description(String description)
The endpoint description.- Parameters:
description- the value to set- Returns:
- this builder
-
model
public LogEndpoint.Builder model(String model)
The endpoint model.- Parameters:
model- the value to set- Returns:
- this builder
-
endpointId
public LogEndpoint.Builder endpointId(Long endpointId)
The endpoint unique identifier.- Parameters:
endpointId- the value to set- Returns:
- this builder
-
request
public LogEndpoint.Builder request(EndpointRequest request)
-
response
public LogEndpoint.Builder response(EndpointResponse response)
-
credentials
public LogEndpoint.Builder credentials(EndpointCredentials credentials)
-
proxy
public LogEndpoint.Builder proxy(EndpointProxy proxy)
-
isEnabled
public LogEndpoint.Builder isEnabled(Boolean isEnabled)
A flag indicating whether or not the endpoint is enabled for log collection.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
isSystem
public LogEndpoint.Builder isSystem(Boolean isSystem)
The system flag.A value of false denotes a custom, or user defined endpoint. A value of true denotes an Oracle defined endpoint.
- Parameters:
isSystem- the value to set- Returns:
- this builder
-
endpointProperties
public LogEndpoint.Builder endpointProperties(List<LogAnalyticsProperty> endpointProperties)
A list of endpoint properties.- Parameters:
endpointProperties- the value to set- Returns:
- this builder
-
build
public LogEndpoint build()
-
copy
public LogEndpoint.Builder copy(LogEndpoint model)
-
-