@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationOptionsResponse extends Object implements Serializable, Cloneable
Describes the destination options for a flow log.
Constructor and Description |
---|
DestinationOptionsResponse() |
Modifier and Type | Method and Description |
---|---|
DestinationOptionsResponse |
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.
|
DestinationOptionsResponse |
withFileFormat(DestinationFileFormat fileFormat)
The format for the flow log.
|
DestinationOptionsResponse |
withFileFormat(String fileFormat)
The format for the flow log.
|
DestinationOptionsResponse |
withHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
DestinationOptionsResponse |
withPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour.
|
public void setFileFormat(String fileFormat)
The format for the flow log.
fileFormat
- The format for the flow log.DestinationFileFormat
public String getFileFormat()
The format for the flow log.
DestinationFileFormat
public DestinationOptionsResponse withFileFormat(String fileFormat)
The format for the flow log.
fileFormat
- The format for the flow log.DestinationFileFormat
public DestinationOptionsResponse withFileFormat(DestinationFileFormat fileFormat)
The format for the flow log.
fileFormat
- The format for the flow log.DestinationFileFormat
public void setHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.public Boolean getHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
public DestinationOptionsResponse withHiveCompatiblePartitions(Boolean hiveCompatiblePartitions)
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.public Boolean isHiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
public void setPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour.
perHourPartition
- Indicates whether to partition the flow log per hour.public Boolean getPerHourPartition()
Indicates whether to partition the flow log per hour.
public DestinationOptionsResponse withPerHourPartition(Boolean perHourPartition)
Indicates whether to partition the flow log per hour.
perHourPartition
- Indicates whether to partition the flow log per hour.public Boolean isPerHourPartition()
Indicates whether to partition the flow log per hour.
public String toString()
toString
in class Object
Object.toString()
public DestinationOptionsResponse clone()