@Generated(value="software.amazon.awssdk:codegen") public final class LoggingOptionsPayload extends Object implements StructuredPojo, ToCopyableBuilder<LoggingOptionsPayload.Builder,LoggingOptionsPayload>
Describes the logging options payload.
Modifier and Type | Class and Description |
---|---|
static interface |
LoggingOptionsPayload.Builder |
Modifier and Type | Method and Description |
---|---|
static LoggingOptionsPayload.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LogLevel |
logLevel()
The logging level.
|
String |
logLevelAsString()
The logging level.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn()
The ARN of the IAM role that grants access.
|
static Class<? extends LoggingOptionsPayload.Builder> |
serializableBuilderClass() |
LoggingOptionsPayload.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String roleArn()
The ARN of the IAM role that grants access.
public LogLevel logLevel()
The logging level.
If the service returns an enum value that is not available in the current SDK version, logLevel
will
return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
logLevelAsString()
.
LogLevel
public String logLevelAsString()
The logging level.
If the service returns an enum value that is not available in the current SDK version, logLevel
will
return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
logLevelAsString()
.
LogLevel
public LoggingOptionsPayload.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoggingOptionsPayload.Builder,LoggingOptionsPayload>
public static LoggingOptionsPayload.Builder builder()
public static Class<? extends LoggingOptionsPayload.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.