@Generated(value="software.amazon.awssdk:codegen") public final class GetV2LoggingOptionsResponse extends IotResponse implements ToCopyableBuilder<GetV2LoggingOptionsResponse.Builder,GetV2LoggingOptionsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetV2LoggingOptionsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetV2LoggingOptionsResponse.Builder |
builder() |
LogLevel |
defaultLogLevel()
The default log level.
|
String |
defaultLogLevelAsString()
The default log level.
|
Boolean |
disableAllLogs()
Disables all logs.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
String |
roleArn()
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetV2LoggingOptionsResponse.Builder> |
serializableBuilderClass() |
GetV2LoggingOptionsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadatasdkHttpResponsecopypublic String roleArn()
The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
public LogLevel defaultLogLevel()
The default log level.
If the service returns an enum value that is not available in the current SDK version, defaultLogLevel
will return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultLogLevelAsString().
LogLevelpublic String defaultLogLevelAsString()
The default log level.
If the service returns an enum value that is not available in the current SDK version, defaultLogLevel
will return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultLogLevelAsString().
LogLevelpublic Boolean disableAllLogs()
Disables all logs.
public GetV2LoggingOptionsResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetV2LoggingOptionsResponse.Builder,GetV2LoggingOptionsResponse>toBuilder in class AwsResponsepublic static GetV2LoggingOptionsResponse.Builder builder()
public static Class<? extends GetV2LoggingOptionsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.