@Experimental @Generated @ThreadSafe @Immutable public class IdentifiableBase extends TrackableBase implements Serializable
Mirror, Profile, Proxy and Server.| Modifier and Type | Class and Description |
|---|---|
static class |
IdentifiableBase.Builder
Builder class used to create IdentifiableBase instances.
|
GLOBAL_LEVEL, USER_LEVEL| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
static IdentifiableBase.Builder |
newBuilder()
Creates a new
IdentifiableBase builder instance. |
static IdentifiableBase.Builder |
newBuilder(boolean withDefaults)
Creates a new
IdentifiableBase builder instance using default values or not. |
static IdentifiableBase.Builder |
newBuilder(IdentifiableBase from)
Creates a new
IdentifiableBase builder instance using the specified object as a basis. |
static IdentifiableBase.Builder |
newBuilder(IdentifiableBase from,
boolean forceCopy)
Creates a new
IdentifiableBase builder instance using the specified object as a basis. |
static IdentifiableBase |
newInstance()
Creates a new
IdentifiableBase instance. |
static IdentifiableBase |
newInstance(boolean withDefaults)
Creates a new
IdentifiableBase instance using default values or not. |
IdentifiableBase.Builder |
with()
Creates a new builder with this object as the basis.
|
IdentifiableBase |
withId(String id)
Creates a new
IdentifiableBase instance using the specified id. |
getSourceLevel, newBuilder, newBuilder, setSourceLevelpublic String getId()
String@Nonnull public IdentifiableBase.Builder with()
with in class TrackableBaseBuilder@Nonnull public IdentifiableBase withId(String id)
IdentifiableBase instance using the specified id.id - the new String to useIdentifiableBase with the specified id@Nonnull public static IdentifiableBase newInstance()
IdentifiableBase instance.
Equivalent to newInstance( true ).IdentifiableBasenewInstance(boolean)@Nonnull public static IdentifiableBase newInstance(boolean withDefaults)
IdentifiableBase instance using default values or not.
Equivalent to newBuilder( withDefaults ).build().withDefaults - the boolean indicating whether default values should be usedIdentifiableBase@Nonnull public static IdentifiableBase.Builder newBuilder()
IdentifiableBase builder instance.
Equivalent to newBuilder( true ).BuildernewBuilder(boolean)@Nonnull public static IdentifiableBase.Builder newBuilder(boolean withDefaults)
IdentifiableBase builder instance using default values or not.withDefaults - the boolean indicating whether default values should be usedBuilder@Nonnull public static IdentifiableBase.Builder newBuilder(IdentifiableBase from)
IdentifiableBase builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false ).from - the IdentifiableBase instance to use as a basisBuilder@Nonnull public static IdentifiableBase.Builder newBuilder(IdentifiableBase from, boolean forceCopy)
IdentifiableBase builder instance using the specified object as a basis.from - the IdentifiableBase instance to use as a basisforceCopy - the boolean indicating if a copy should be forcedBuilderCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.