software.amazon.awssdk.services.protocoljsonrpc.model.ImplicitPayloadException Maven / Gradle / Ivy
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.protocoljsonrpc.model;
import java.nio.ByteBuffer;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.exception.AwsErrorDetails;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.adapter.StandardMemberCopier;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.ListTrait;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.core.traits.MapTrait;
import software.amazon.awssdk.core.util.DefaultSdkAutoConstructList;
import software.amazon.awssdk.core.util.DefaultSdkAutoConstructMap;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;
/**
*/
@Generated("software.amazon.awssdk:codegen")
public final class ImplicitPayloadException extends ProtocolJsonRpcException implements
ToCopyableBuilder {
private static final SdkField STRING_MEMBER_FIELD = SdkField. builder(MarshallingType.STRING)
.getter(getter(ImplicitPayloadException::stringMember)).setter(setter(Builder::stringMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("StringMember").build()).build();
private static final SdkField INTEGER_MEMBER_FIELD = SdkField. builder(MarshallingType.INTEGER)
.getter(getter(ImplicitPayloadException::integerMember)).setter(setter(Builder::integerMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("IntegerMember").build()).build();
private static final SdkField LONG_MEMBER_FIELD = SdkField. builder(MarshallingType.LONG)
.getter(getter(ImplicitPayloadException::longMember)).setter(setter(Builder::longMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LongMember").build()).build();
private static final SdkField DOUBLE_MEMBER_FIELD = SdkField. builder(MarshallingType.DOUBLE)
.getter(getter(ImplicitPayloadException::doubleMember)).setter(setter(Builder::doubleMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DoubleMember").build()).build();
private static final SdkField FLOAT_MEMBER_FIELD = SdkField. builder(MarshallingType.FLOAT)
.getter(getter(ImplicitPayloadException::floatMember)).setter(setter(Builder::floatMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FloatMember").build()).build();
private static final SdkField TIMESTAMP_MEMBER_FIELD = SdkField. builder(MarshallingType.INSTANT)
.getter(getter(ImplicitPayloadException::timestampMember)).setter(setter(Builder::timestampMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TimestampMember").build()).build();
private static final SdkField BOOLEAN_MEMBER_FIELD = SdkField. builder(MarshallingType.BOOLEAN)
.getter(getter(ImplicitPayloadException::booleanMember)).setter(setter(Builder::booleanMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("BooleanMember").build()).build();
private static final SdkField BLOB_MEMBER_FIELD = SdkField. builder(MarshallingType.SDK_BYTES)
.getter(getter(ImplicitPayloadException::blobMember)).setter(setter(Builder::blobMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("BlobMember").build()).build();
private static final SdkField> LIST_MEMBER_FIELD = SdkField
.> builder(MarshallingType.LIST)
.getter(getter(ImplicitPayloadException::listMember))
.setter(setter(Builder::listMember))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("ListMember").build(),
ListTrait
.builder()
.memberLocationName(null)
.memberFieldInfo(
SdkField. builder(MarshallingType.STRING)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD)
.locationName("member").build()).build()).build()).build();
private static final SdkField