Class CodegenDependency
- java.lang.Object
-
- software.amazon.awssdk.services.amplifyuibuilder.model.CodegenDependency
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodegenDependency.Builder,CodegenDependency>
@Generated("software.amazon.awssdk:codegen") public final class CodegenDependency extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodegenDependency.Builder,CodegenDependency>
Dependency package that may be required for the project code to run.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodegenDependency.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodegenDependency.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisSemVer()Determines if the dependency package is using Semantic versioning.Stringname()Name of the dependency package.Stringreason()Indicates the reason to include the dependency package in your project code.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CodegenDependency.Builder>serializableBuilderClass()StringsupportedVersion()Indicates the version of the supported dependency package.CodegenDependency.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Name of the dependency package.
- Returns:
- Name of the dependency package.
-
supportedVersion
public final String supportedVersion()
Indicates the version of the supported dependency package.
- Returns:
- Indicates the version of the supported dependency package.
-
isSemVer
public final Boolean isSemVer()
Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
- Returns:
- Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
-
reason
public final String reason()
Indicates the reason to include the dependency package in your project code.
- Returns:
- Indicates the reason to include the dependency package in your project code.
-
toBuilder
public CodegenDependency.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodegenDependency.Builder,CodegenDependency>
-
builder
public static CodegenDependency.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodegenDependency.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-