@Generated(value={"Immutables.generator","SMFMemoryMeshFilterCheckConfigurationType"}) public final class SMFMemoryMeshFilterCheckConfiguration extends Object implements SMFMemoryMeshFilterCheckConfigurationType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFMemoryMeshFilterCheckConfiguration.Builder
Builds instances of type
SMFMemoryMeshFilterCheckConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static SMFMemoryMeshFilterCheckConfiguration.Builder |
builder()
Creates a builder for
SMFMemoryMeshFilterCheckConfiguration. |
OptionalInt |
componentCount() |
OptionalInt |
componentSize() |
Optional<SMFComponentType> |
componentType() |
static SMFMemoryMeshFilterCheckConfiguration |
copyOf(SMFMemoryMeshFilterCheckConfigurationType instance)
Creates an immutable copy of a
SMFMemoryMeshFilterCheckConfigurationType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFMemoryMeshFilterCheckConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
name, componentType, componentCount, componentSize. |
SMFAttributeName |
name() |
static SMFMemoryMeshFilterCheckConfiguration |
of(SMFAttributeName name,
Optional<SMFComponentType> componentType,
OptionalInt componentCount,
OptionalInt componentSize)
Construct a new immutable
SMFMemoryMeshFilterCheckConfiguration instance. |
String |
toString()
Prints the immutable value
SMFMemoryMeshFilterCheckConfiguration with attribute values. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentCount(int value)
Copy the current immutable object by setting a present value for the optional
componentCount attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentCount(OptionalInt optional)
Copy the current immutable object by setting an optional value for the
componentCount attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentSize(int value)
Copy the current immutable object by setting a present value for the optional
componentSize attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentSize(OptionalInt optional)
Copy the current immutable object by setting an optional value for the
componentSize attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentType(Optional<? extends SMFComponentType> optional)
Copy the current immutable object by setting an optional value for the
componentType attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withComponentType(SMFComponentType value)
Copy the current immutable object by setting a present value for the optional
componentType attribute. |
SMFMemoryMeshFilterCheckConfiguration |
withName(SMFAttributeName value)
Copy the current immutable object by setting a value for the
name attribute. |
public SMFAttributeName name()
name in interface SMFMemoryMeshFilterCheckConfigurationTypepublic Optional<SMFComponentType> componentType()
componentType in interface SMFMemoryMeshFilterCheckConfigurationTypepublic OptionalInt componentCount()
componentCount in interface SMFMemoryMeshFilterCheckConfigurationTypepublic OptionalInt componentSize()
componentSize in interface SMFMemoryMeshFilterCheckConfigurationTypepublic final SMFMemoryMeshFilterCheckConfiguration withName(SMFAttributeName value)
name attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentType(SMFComponentType value)
componentType attribute.value - The value for componentTypethis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentType(Optional<? extends SMFComponentType> optional)
componentType attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for componentTypethis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentCount(int value)
componentCount attribute.value - The value for componentCountthis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentCount(OptionalInt optional)
componentCount attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for componentCountthis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentSize(int value)
componentSize attribute.value - The value for componentSizethis objectpublic final SMFMemoryMeshFilterCheckConfiguration withComponentSize(OptionalInt optional)
componentSize attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for componentSizethis objectpublic boolean equals(Object another)
SMFMemoryMeshFilterCheckConfiguration that have equal attribute values.public int hashCode()
name, componentType, componentCount, componentSize.public String toString()
SMFMemoryMeshFilterCheckConfiguration with attribute values.public static SMFMemoryMeshFilterCheckConfiguration of(SMFAttributeName name, Optional<SMFComponentType> componentType, OptionalInt componentCount, OptionalInt componentSize)
SMFMemoryMeshFilterCheckConfiguration instance.name - The value for the name attributecomponentType - The value for the componentType attributecomponentCount - The value for the componentCount attributecomponentSize - The value for the componentSize attributepublic static SMFMemoryMeshFilterCheckConfiguration copyOf(SMFMemoryMeshFilterCheckConfigurationType instance)
SMFMemoryMeshFilterCheckConfigurationType 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 SMFMemoryMeshFilterCheckConfiguration.Builder builder()
SMFMemoryMeshFilterCheckConfiguration.Copyright © 2017 <code@io7m.com> http://io7m.com