Package com.oracle.bmc.opensearch.model
Class OutboundClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opensearch.model.OutboundClusterSummary.Builder
-
- Enclosing class:
- OutboundClusterSummary
public static class OutboundClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutboundClusterSummarybuild()OutboundClusterSummary.Buildercopy(OutboundClusterSummary model)OutboundClusterSummary.BuilderdisplayName(String displayName)Name of the Outbound cluster.OutboundClusterSummary.BuilderisSkipUnavailable(Boolean isSkipUnavailable)Flag to indicate whether to skip the Outbound cluster during cross cluster search, if it is unavailableOutboundClusterSummary.Buildermode(CccMode mode)Mode for the cross cluster connectionOutboundClusterSummary.BuilderpingSchedule(String pingSchedule)Sets the time interval between regular application-level ping messages that are sent to try and keep outbound cluster connections alive.OutboundClusterSummary.BuilderseedClusterId(String seedClusterId)OCID of the Outbound cluster
-
-
-
Method Detail
-
displayName
public OutboundClusterSummary.Builder displayName(String displayName)
Name of the Outbound cluster.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
pingSchedule
public OutboundClusterSummary.Builder pingSchedule(String pingSchedule)
Sets the time interval between regular application-level ping messages that are sent to try and keep outbound cluster connections alive.If set to -1, application-level ping messages to this outbound cluster are not sent. If unset, application-level ping messages are sent according to the global transport.ping_schedule setting, which defaults to -1 meaning that pings are not sent.
- Parameters:
pingSchedule- the value to set- Returns:
- this builder
-
isSkipUnavailable
public OutboundClusterSummary.Builder isSkipUnavailable(Boolean isSkipUnavailable)
Flag to indicate whether to skip the Outbound cluster during cross cluster search, if it is unavailable- Parameters:
isSkipUnavailable- the value to set- Returns:
- this builder
-
seedClusterId
public OutboundClusterSummary.Builder seedClusterId(String seedClusterId)
OCID of the Outbound cluster- Parameters:
seedClusterId- the value to set- Returns:
- this builder
-
mode
public OutboundClusterSummary.Builder mode(CccMode mode)
Mode for the cross cluster connection- Parameters:
mode- the value to set- Returns:
- this builder
-
build
public OutboundClusterSummary build()
-
copy
public OutboundClusterSummary.Builder copy(OutboundClusterSummary model)
-
-