public static class MARSEndpoint.Builder extends Object
MARSEndpoint
objects.Modifier and Type | Field and Description |
---|---|
protected Properties |
props |
Modifier and Type | Method and Description |
---|---|
MARSEndpoint |
acquire() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
supportsProperty(String key)
Returns true if the corresponding property key is supported.
|
MARSEndpoint.Builder |
withProperties(Properties props)
Sets all supported properties from the provided properties object.
|
MARSEndpoint.Builder |
withProperty(String key,
String value)
Sets the specified property.
|
protected final Properties props
public final MARSEndpoint.Builder withProperty(String key, String value)
supportsProperty(String)
public final MARSEndpoint.Builder withProperties(Properties props)
public boolean supportsProperty(String key)
withProperty(String, String)
public MARSEndpoint acquire()
Copyright © 2015 Devexperts. All Rights Reserved.