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 LogEndpoint
build()
LogEndpoint.Builder
copy(LogEndpoint model)
LogEndpoint.Builder
credentials(EndpointCredentials credentials)
LogEndpoint.Builder
description(String description)
The endpoint description.LogEndpoint.Builder
endpointId(Long endpointId)
The endpoint unique identifier.LogEndpoint.Builder
endpointProperties(List<LogAnalyticsProperty> endpointProperties)
A list of endpoint properties.LogEndpoint.Builder
isEnabled(Boolean isEnabled)
A flag indicating whether or not the endpoint is enabled for log collection.LogEndpoint.Builder
isSystem(Boolean isSystem)
The system flag.LogEndpoint.Builder
model(String model)
The endpoint model.LogEndpoint.Builder
name(String name)
The endpoint name.LogEndpoint.Builder
proxy(EndpointProxy proxy)
LogEndpoint.Builder
request(EndpointRequest request)
LogEndpoint.Builder
response(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)
-
-