Interface LocationIdentifier.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LocationIdentifier.Builder,,LocationIdentifier> SdkBuilder<LocationIdentifier.Builder,,LocationIdentifier> SdkPojo
- Enclosing class:
LocationIdentifier
@Mutable
@NotThreadSafe
public static interface LocationIdentifier.Builder
extends SdkPojo, CopyableBuilder<LocationIdentifier.Builder,LocationIdentifier>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LocationIdentifier.BuildercodeLocation(Consumer<CodeLocation.Builder> codeLocation) The full code location specification (will be hashed internally)codeLocation(CodeLocation codeLocation) The full code location specification (will be hashed internally)locationHash(String locationHash) The pre-computed location hash (16-character hex string)Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
codeLocation
The full code location specification (will be hashed internally)
- Parameters:
codeLocation- The full code location specification (will be hashed internally)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeLocation
The full code location specification (will be hashed internally)
This is a convenience method that creates an instance of theCodeLocation.Builderavoiding the need to create one manually viaCodeLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeLocation(CodeLocation).- Parameters:
codeLocation- a consumer that will call methods onCodeLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locationHash
The pre-computed location hash (16-character hex string)
- Parameters:
locationHash- The pre-computed location hash (16-character hex string)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-