@Generated(value="software.amazon.awssdk:codegen") public final class Definition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Definition.Builder,Definition>
The application definition for a particular application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Definition.Builder |
static class |
Definition.Type |
| Modifier and Type | Method and Description |
|---|---|
static Definition.Builder |
builder() |
String |
content()
The content of the application definition.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Definition |
fromContent(String content)
Create an instance of this class with
content() initialized to the given value. |
static Definition |
fromS3Location(String s3Location)
Create an instance of this class with
s3Location() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3Location()
The S3 bucket that contains the application definition.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Definition.Builder> |
serializableBuilderClass() |
Definition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Definition.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String content()
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
public final String s3Location()
The S3 bucket that contains the application definition.
public Definition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Definition.Builder,Definition>public static Definition.Builder builder()
public static Class<? extends Definition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Definition fromContent(String content)
content() initialized to the given value.
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
content - The content of the application definition. This is a JSON object that contains the resource
configuration/definitions that identify an application.public static Definition fromS3Location(String s3Location)
s3Location() initialized to the given value.
The S3 bucket that contains the application definition.
s3Location - The S3 bucket that contains the application definition.public Definition.Type type()
Definition.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 Definition.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.