Class ValidateSourceRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ValidateSourceRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ValidateSourceRequest,UpsertLogAnalyticsSourceDetails>
- Enclosing class:
- ValidateSourceRequest
public static class ValidateSourceRequest.Builder extends Object implements BmcRequest.Builder<ValidateSourceRequest,UpsertLogAnalyticsSourceDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidateSourceRequest.Builderbody$(UpsertLogAnalyticsSourceDetails body)Alternative setter for the body parameter.ValidateSourceRequestbuild()Build the instance of ValidateSourceRequest as configured by this builderValidateSourceRequestbuildWithoutInvocationCallback()Build the instance of ValidateSourceRequest as configured by this builderValidateSourceRequest.Buildercopy(ValidateSourceRequest o)Copy method to populate the builder with values from the given instance.ValidateSourceRequest.BuildercreateLikeSourceId(Integer createLikeSourceId)The unique identifier of the source to use as the reference for a create like operation.ValidateSourceRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ValidateSourceRequest.BuilderisIgnoreWarning(Boolean isIgnoreWarning)is ignore warningValidateSourceRequest.BuilderisIncremental(Boolean isIncremental)A flag indicating whether or not the update of a source is incremental or not.ValidateSourceRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ValidateSourceRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ValidateSourceRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ValidateSourceRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ValidateSourceRequest.BuilderupsertLogAnalyticsSourceDetails(UpsertLogAnalyticsSourceDetails upsertLogAnalyticsSourceDetails)Details for the new LoganSourceDetails.
-
-
-
Method Detail
-
namespaceName
public ValidateSourceRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
upsertLogAnalyticsSourceDetails
public ValidateSourceRequest.Builder upsertLogAnalyticsSourceDetails(UpsertLogAnalyticsSourceDetails upsertLogAnalyticsSourceDetails)
Details for the new LoganSourceDetails.- Parameters:
upsertLogAnalyticsSourceDetails- the value to set- Returns:
- this builder instance
-
createLikeSourceId
public ValidateSourceRequest.Builder createLikeSourceId(Integer createLikeSourceId)
The unique identifier of the source to use as the reference for a create like operation.- Parameters:
createLikeSourceId- the value to set- Returns:
- this builder instance
-
isIncremental
public ValidateSourceRequest.Builder isIncremental(Boolean isIncremental)
A flag indicating whether or not the update of a source is incremental or not.If incremental, the name of the source must be specified.
- Parameters:
isIncremental- the value to set- Returns:
- this builder instance
-
isIgnoreWarning
public ValidateSourceRequest.Builder isIgnoreWarning(Boolean isIgnoreWarning)
is ignore warning- Parameters:
isIgnoreWarning- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ValidateSourceRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
opcRequestId
public ValidateSourceRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ValidateSourceRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ValidateSourceRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ValidateSourceRequest.Builder copy(ValidateSourceRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ValidateSourceRequest,UpsertLogAnalyticsSourceDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ValidateSourceRequest build()
Build the instance of ValidateSourceRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<ValidateSourceRequest,UpsertLogAnalyticsSourceDetails>- Returns:
- instance of ValidateSourceRequest
-
body$
public ValidateSourceRequest.Builder body$(UpsertLogAnalyticsSourceDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<ValidateSourceRequest,UpsertLogAnalyticsSourceDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ValidateSourceRequest buildWithoutInvocationCallback()
Build the instance of ValidateSourceRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ValidateSourceRequest
-
-