Class ScriptSource
java.lang.Object
software.amazon.awssdk.services.pcs.model.ScriptSource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScriptSource.Builder,ScriptSource>
@Generated("software.amazon.awssdk:codegen")
public final class ScriptSource
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ScriptSource.Builder,ScriptSource>
The source location and integrity information for a node lifecycle script.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptSource.Builderbuilder()final Stringchecksum()The SHA-256 checksum of the script content, as a 64-character hexadecimal string.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon S3 version ID of the script.final StringThe location of the script.static Class<? extends ScriptSource.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scriptLocation
The location of the script. Specify either an Amazon S3 URI in the format
s3://bucket-name/keyor an HTTPS URL.- Returns:
- The location of the script. Specify either an Amazon S3 URI in the format
s3://bucket-name/keyor an HTTPS URL.
-
s3VersionId
The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket. This value is only valid when
scriptLocationis an Amazon S3 URI.- Returns:
- The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a
versioned Amazon S3 bucket. This value is only valid when
scriptLocationis an Amazon S3 URI.
-
checksum
The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.
- Returns:
- The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScriptSource.Builder,ScriptSource> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-