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) Sets the value of the S3 property for this object.s3(S3Location s3) Sets the value of the S3 property for this object.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
Sets the value of the S3 property for this object.- Parameters:
s3- The new value for the S3 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Sets the value of the S3 property for this object. 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:
-