@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxDataviewSegmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
Constructor and Description |
---|
KxDataviewSegmentConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxDataviewSegmentConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDbPaths()
The database path of the data that you want to place on each selected volume for the segment.
|
String |
getVolumeName()
The name of the volume where you want to add data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
void |
setVolumeName(String volumeName)
The name of the volume where you want to add data.
|
String |
toString()
Returns a string representation of this object.
|
KxDataviewSegmentConfiguration |
withDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
KxDataviewSegmentConfiguration |
withDbPaths(String... dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
KxDataviewSegmentConfiguration |
withVolumeName(String volumeName)
The name of the volume where you want to add data.
|
public List<String> getDbPaths()
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
public void setDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public KxDataviewSegmentConfiguration withDbPaths(String... dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
NOTE: This method appends the values to the existing list (if any). Use
setDbPaths(java.util.Collection)
or withDbPaths(java.util.Collection)
if you want to override
the existing values.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public KxDataviewSegmentConfiguration withDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public void setVolumeName(String volumeName)
The name of the volume where you want to add data.
volumeName
- The name of the volume where you want to add data.public String getVolumeName()
The name of the volume where you want to add data.
public KxDataviewSegmentConfiguration withVolumeName(String volumeName)
The name of the volume where you want to add data.
volumeName
- The name of the volume where you want to add data.public String toString()
toString
in class Object
Object.toString()
public KxDataviewSegmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.