@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationOptionsRequest extends Object implements Serializable, Cloneable
Describes the destination options for a flow log.
Constructor and Description |
---|
DestinationOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
DestinationOptionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFileFormat()
The format for the flow log.
|
Boolean |
getHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
Boolean |
getPerHourPartition()
Indicates whether to partition the flow log per hour.
|
int |
hashCode() |
Boolean |
isHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
Boolean |
isPerHourPartition()
Indicates whether to partition the flow log per hour.
|
void |
setFileFormat(String fileFormat)
The format for the flow log.
|
void |
setHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
void |
setPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour.
|
String |
toString()
Returns a string representation of this object.
|
DestinationOptionsRequest |
withFileFormat(DestinationFileFormat fileFormat)
The format for the flow log.
|
DestinationOptionsRequest |
withFileFormat(String fileFormat)
The format for the flow log.
|
DestinationOptionsRequest |
withHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
DestinationOptionsRequest |
withPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour.
|
public void setFileFormat(String fileFormat)
The format for the flow log. The default is plain-text
.
fileFormat
- The format for the flow log. The default is plain-text
.DestinationFileFormat
public String getFileFormat()
The format for the flow log. The default is plain-text
.
plain-text
.DestinationFileFormat
public DestinationOptionsRequest withFileFormat(String fileFormat)
The format for the flow log. The default is plain-text
.
fileFormat
- The format for the flow log. The default is plain-text
.DestinationFileFormat
public DestinationOptionsRequest withFileFormat(DestinationFileFormat fileFormat)
The format for the flow log. The default is plain-text
.
fileFormat
- The format for the flow log. The default is plain-text
.DestinationFileFormat
public void setHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.public Boolean getHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.
false
.public DestinationOptionsRequest withHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.public Boolean isHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.
false
.public void setPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The
default is false
.
perHourPartition
- Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries.
The default is false
.public Boolean getPerHourPartition()
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The
default is false
.
false
.public DestinationOptionsRequest withPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The
default is false
.
perHourPartition
- Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries.
The default is false
.public Boolean isPerHourPartition()
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The
default is false
.
false
.public String toString()
toString
in class Object
Object.toString()
public DestinationOptionsRequest clone()