@NotThreadSafe public static final class ImmutableTestBucketConfiguration.Builder extends Object
ImmutableTestBucketConfiguration.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableTestBucketConfiguration.Builder |
bucketName(String bucketName)
Initializes the value for the
bucketName attribute. |
ImmutableTestBucketConfiguration.Builder |
bucketPrefix(String bucketPrefix)
Initializes the value for the
bucketPrefix attribute. |
ImmutableTestBucketConfiguration |
build()
Builds a new
ImmutableTestBucketConfiguration. |
ImmutableTestBucketConfiguration.Builder |
from(TestBucketConfiguration instance)
Fill a builder with attribute values from the provided
TestBucketConfiguration instance. |
@CanIgnoreReturnValue public final ImmutableTestBucketConfiguration.Builder from(TestBucketConfiguration instance)
TestBucketConfiguration instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableTestBucketConfiguration.Builder bucketName(String bucketName)
bucketName attribute.bucketName - The value for bucketNamethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableTestBucketConfiguration.Builder bucketPrefix(String bucketPrefix)
bucketPrefix attribute.bucketPrefix - The value for bucketPrefixthis builder for use in a chained invocationpublic ImmutableTestBucketConfiguration build()
ImmutableTestBucketConfiguration.IllegalStateException - if any required attributes are missingCopyright © 2021–2022 Amazon Web Services. All rights reserved.