@Generated(value="software.amazon.awssdk:codegen") public final class DestinationOptionsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DestinationOptionsRequest.Builder,DestinationOptionsRequest>
Describes the destination options for a flow log.
Modifier and Type | Class and Description |
---|---|
static interface |
DestinationOptionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DestinationOptionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DestinationFileFormat |
fileFormat()
The format for the flow log.
|
String |
fileFormatAsString()
The format for the flow log.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
|
Boolean |
perHourPartition()
Indicates whether to partition the flow log per hour.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DestinationOptionsRequest.Builder> |
serializableBuilderClass() |
DestinationOptionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final DestinationFileFormat fileFormat()
The format for the flow log. The default is plain-text
.
If the service returns an enum value that is not available in the current SDK version, fileFormat
will
return DestinationFileFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from fileFormatAsString()
.
plain-text
.DestinationFileFormat
public final String fileFormatAsString()
The format for the flow log. The default is plain-text
.
If the service returns an enum value that is not available in the current SDK version, fileFormat
will
return DestinationFileFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from fileFormatAsString()
.
plain-text
.DestinationFileFormat
public final Boolean hiveCompatiblePartitions()
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is
false
.
false
.public final Boolean perHourPartition()
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.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DestinationOptionsRequest.Builder,DestinationOptionsRequest>
public static DestinationOptionsRequest.Builder builder()
public static Class<? extends DestinationOptionsRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.