@Generated(value="software.amazon.awssdk:codegen") public final class VirtualGatewayAccessLog extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualGatewayAccessLog.Builder,VirtualGatewayAccessLog>
The access log configuration for a virtual gateway.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VirtualGatewayAccessLog.Builder |
static class |
VirtualGatewayAccessLog.Type |
| Modifier and Type | Method and Description |
|---|---|
static VirtualGatewayAccessLog.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
VirtualGatewayFileAccessLog |
file()
The file object to send virtual gateway access logs to.
|
static VirtualGatewayAccessLog |
fromFile(Consumer<VirtualGatewayFileAccessLog.Builder> file)
Create an instance of this class with
file() initialized to the given value. |
static VirtualGatewayAccessLog |
fromFile(VirtualGatewayFileAccessLog file)
Create an instance of this class with
file() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VirtualGatewayAccessLog.Builder> |
serializableBuilderClass() |
VirtualGatewayAccessLog.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VirtualGatewayAccessLog.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final VirtualGatewayFileAccessLog file()
The file object to send virtual gateway access logs to.
public VirtualGatewayAccessLog.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VirtualGatewayAccessLog.Builder,VirtualGatewayAccessLog>public static VirtualGatewayAccessLog.Builder builder()
public static Class<? extends VirtualGatewayAccessLog.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static VirtualGatewayAccessLog fromFile(VirtualGatewayFileAccessLog file)
file() initialized to the given value.
The file object to send virtual gateway access logs to.
file - The file object to send virtual gateway access logs to.public static VirtualGatewayAccessLog fromFile(Consumer<VirtualGatewayFileAccessLog.Builder> file)
file() initialized to the given value.
The file object to send virtual gateway access logs to.
file - The file object to send virtual gateway access logs to.public VirtualGatewayAccessLog.Type type()
VirtualGatewayAccessLog.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be VirtualGatewayAccessLog.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.