public static final class SMFMemoryMeshFilterCheckConfiguration.Builder extends Object
SMFMemoryMeshFilterCheckConfiguration.
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.
public final SMFMemoryMeshFilterCheckConfiguration.Builder from(SMFMemoryMeshFilterCheckConfigurationType instance)
SMFMemoryMeshFilterCheckConfigurationType 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 invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setName(SMFAttributeName name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentType(SMFComponentType componentType)
componentType to componentType.componentType - The value for componentTypethis builder for chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentType(Optional<? extends SMFComponentType> componentType)
componentType to componentType.componentType - The value for componentTypethis builder for use in a chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentCount(int componentCount)
componentCount to componentCount.componentCount - The value for componentCountthis builder for chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentCount(OptionalInt componentCount)
componentCount to componentCount.componentCount - The value for componentCountthis builder for use in a chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentSize(int componentSize)
componentSize to componentSize.componentSize - The value for componentSizethis builder for chained invocationpublic final SMFMemoryMeshFilterCheckConfiguration.Builder setComponentSize(OptionalInt componentSize)
componentSize to componentSize.componentSize - The value for componentSizethis builder for use in a chained invocationpublic SMFMemoryMeshFilterCheckConfiguration build()
SMFMemoryMeshFilterCheckConfiguration.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com