@Generated(value="software.amazon.awssdk:codegen") public final class TemplateVersionSourceInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateVersionSourceInput.Builder,TemplateVersionSourceInput>
Template version source data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateVersionSourceInput.Builder |
static class |
TemplateVersionSourceInput.Type |
| Modifier and Type | Method and Description |
|---|---|
static TemplateVersionSourceInput.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static TemplateVersionSourceInput |
fromS3(Consumer<S3ObjectSource.Builder> s3)
Create an instance of this class with
s3() initialized to the given value. |
static TemplateVersionSourceInput |
fromS3(S3ObjectSource s3)
Create an instance of this class with
s3() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3ObjectSource |
s3()
An S3 source object that includes the template bundle S3 path and name for a template minor version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateVersionSourceInput.Builder> |
serializableBuilderClass() |
TemplateVersionSourceInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TemplateVersionSourceInput.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3ObjectSource s3()
An S3 source object that includes the template bundle S3 path and name for a template minor version.
public TemplateVersionSourceInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateVersionSourceInput.Builder,TemplateVersionSourceInput>public static TemplateVersionSourceInput.Builder builder()
public static Class<? extends TemplateVersionSourceInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static TemplateVersionSourceInput fromS3(S3ObjectSource s3)
s3() initialized to the given value.
An S3 source object that includes the template bundle S3 path and name for a template minor version.
s3 - An S3 source object that includes the template bundle S3 path and name for a template minor version.public static TemplateVersionSourceInput fromS3(Consumer<S3ObjectSource.Builder> s3)
s3() initialized to the given value.
An S3 source object that includes the template bundle S3 path and name for a template minor version.
s3 - An S3 source object that includes the template bundle S3 path and name for a template minor version.public TemplateVersionSourceInput.Type type()
TemplateVersionSourceInput.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 TemplateVersionSourceInput.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.