@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableTestBucketConfiguration extends Object implements TestBucketConfiguration
TestBucketConfiguration.
Use the builder to create immutable instances:
ImmutableTestBucketConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTestBucketConfiguration.Builder
Builds instances of type
ImmutableTestBucketConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName() |
String |
bucketPrefix() |
static ImmutableTestBucketConfiguration.Builder |
builder()
Creates a builder for
ImmutableTestBucketConfiguration. |
static ImmutableTestBucketConfiguration |
copyOf(TestBucketConfiguration instance)
Creates an immutable copy of a
TestBucketConfiguration value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableTestBucketConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
bucketName, bucketPrefix. |
String |
toString()
Prints the immutable value
TestBucketConfiguration with attribute values. |
ImmutableTestBucketConfiguration |
withBucketName(String value)
Copy the current immutable object by setting a value for the
bucketName attribute. |
ImmutableTestBucketConfiguration |
withBucketPrefix(String value)
Copy the current immutable object by setting a value for the
bucketPrefix attribute. |
public String bucketName()
bucketName in interface TestBucketConfigurationbucketName attributepublic String bucketPrefix()
bucketPrefix in interface TestBucketConfigurationbucketPrefix attributepublic final ImmutableTestBucketConfiguration withBucketName(String value)
bucketName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for bucketNamethis objectpublic final ImmutableTestBucketConfiguration withBucketPrefix(String value)
bucketPrefix attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for bucketPrefixthis objectpublic boolean equals(@Nullable Object another)
ImmutableTestBucketConfiguration that have equal attribute values.public int hashCode()
bucketName, bucketPrefix.public String toString()
TestBucketConfiguration with attribute values.public static ImmutableTestBucketConfiguration copyOf(TestBucketConfiguration instance)
TestBucketConfiguration value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableTestBucketConfiguration.Builder builder()
ImmutableTestBucketConfiguration.
ImmutableTestBucketConfiguration.builder()
.bucketName(String) // required bucketName
.bucketPrefix(String) // required bucketPrefix
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.