@Experimental @Generated @ThreadSafe @Immutable public class ActivationProperty extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivationProperty.Builder
Builder class used to create ActivationProperty instances.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the property to be used to activate a profile.
|
String |
getValue()
The value of the property to be used to activate a profile.
|
static ActivationProperty.Builder |
newBuilder()
Creates a new
ActivationProperty builder instance. |
static ActivationProperty.Builder |
newBuilder(ActivationProperty from)
Creates a new
ActivationProperty builder instance using the specified object as a basis. |
static ActivationProperty.Builder |
newBuilder(ActivationProperty from,
boolean forceCopy)
Creates a new
ActivationProperty builder instance using the specified object as a basis. |
static ActivationProperty.Builder |
newBuilder(boolean withDefaults)
Creates a new
ActivationProperty builder instance using default values or not. |
static ActivationProperty |
newInstance()
Creates a new
ActivationProperty instance. |
static ActivationProperty |
newInstance(boolean withDefaults)
Creates a new
ActivationProperty instance using default values or not. |
ActivationProperty.Builder |
with()
Creates a new builder with this object as the basis.
|
ActivationProperty |
withName(String name)
Creates a new
ActivationProperty instance using the specified name. |
ActivationProperty |
withValue(String value)
Creates a new
ActivationProperty instance using the specified value. |
public String getName()
Stringpublic String getValue()
String@Nonnull public ActivationProperty.Builder with()
Builder@Nonnull public ActivationProperty withName(String name)
ActivationProperty instance using the specified name.name - the new String to useActivationProperty with the specified name@Nonnull public ActivationProperty withValue(String value)
ActivationProperty instance using the specified value.value - the new String to useActivationProperty with the specified value@Nonnull public static ActivationProperty newInstance()
ActivationProperty instance.
Equivalent to newInstance( true ).ActivationPropertynewInstance(boolean)@Nonnull public static ActivationProperty newInstance(boolean withDefaults)
ActivationProperty instance using default values or not.
Equivalent to newBuilder( withDefaults ).build().withDefaults - the boolean indicating whether default values should be usedActivationProperty@Nonnull public static ActivationProperty.Builder newBuilder()
ActivationProperty builder instance.
Equivalent to newBuilder( true ).BuildernewBuilder(boolean)@Nonnull public static ActivationProperty.Builder newBuilder(boolean withDefaults)
ActivationProperty builder instance using default values or not.withDefaults - the boolean indicating whether default values should be usedBuilder@Nonnull public static ActivationProperty.Builder newBuilder(ActivationProperty from)
ActivationProperty builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false ).from - the ActivationProperty instance to use as a basisBuilder@Nonnull public static ActivationProperty.Builder newBuilder(ActivationProperty from, boolean forceCopy)
ActivationProperty builder instance using the specified object as a basis.from - the ActivationProperty instance to use as a basisforceCopy - the boolean indicating if a copy should be forcedBuilderCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.