Interface ResourceLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceLocation.Builder,,ResourceLocation> SdkBuilder<ResourceLocation.Builder,,ResourceLocation> SdkPojo
- Enclosing class:
ResourceLocation
@Mutable
@NotThreadSafe
public static interface ResourceLocation.Builder
extends SdkPojo, CopyableBuilder<ResourceLocation.Builder,ResourceLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceLocation.Builders3(Consumer<S3Location.Builder> s3) The Amazon S3 location of the resource.s3(S3Location s3) The Amazon S3 location of the resource.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
-
s3
The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.
- Parameters:
s3- The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon S3 location of the resource. Use this when the resource is stored in an Amazon S3 bucket.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Location).- Parameters:
s3- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-