@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableNetmaskQualifier extends NetmaskQualifier
NetmaskQualifier.
Use the builder to create immutable instances:
ImmutableNetmaskQualifier.builder().
Use the static factory method to create immutable instances:
ImmutableNetmaskQualifier.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableNetmaskQualifier.Builder
Builds instances of type
ImmutableNetmaskQualifier. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableNetmaskQualifier.Builder |
builder()
Creates a builder for
ImmutableNetmaskQualifier. |
static ImmutableNetmaskQualifier |
copyOf(NetmaskQualifier instance)
Creates an immutable copy of a
NetmaskQualifier value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableNetmaskQualifier that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
networkName, type. |
String |
networkName()
The network name.
|
static ImmutableNetmaskQualifier |
of(String networkName)
Construct a new immutable
NetmaskQualifier instance. |
String |
toString()
Prints the immutable value
NetmaskQualifier with attribute values. |
QualifierType |
type()
The qualifier type.
|
ImmutableNetmaskQualifier |
withNetworkName(String value)
Copy the current immutable object by setting a value for the
networkName attribute. |
public String networkName()
networkName in class NetmaskQualifierpublic QualifierType type()
Qualifiertype in class NetmaskQualifiertype attributepublic final ImmutableNetmaskQualifier withNetworkName(String value)
networkName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for networkNamethis objectpublic boolean equals(@Nullable Object another)
ImmutableNetmaskQualifier that have equal attribute values.public int hashCode()
networkName, type.public String toString()
NetmaskQualifier with attribute values.public static ImmutableNetmaskQualifier of(String networkName)
NetmaskQualifier instance.networkName - The value for the networkName attributepublic static ImmutableNetmaskQualifier copyOf(NetmaskQualifier instance)
NetmaskQualifier 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 ImmutableNetmaskQualifier.Builder builder()
ImmutableNetmaskQualifier.
ImmutableNetmaskQualifier.builder()
.networkName(String) // required networkName
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.