@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class StandardTagDefinitionTemplate extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The template of the tag definition. This object includes necessary details to create the provided
standard tag definition.
Note: Objects should always be created or deserialized using the StandardTagDefinitionTemplate.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the StandardTagDefinitionTemplate.Builder
, which maintain a
set of all explicitly set fields called StandardTagDefinitionTemplate.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
StandardTagDefinitionTemplate.Builder |
static class |
StandardTagDefinitionTemplate.EnumMutability
The mutability of the possible values list for enum tags.
|
static class |
StandardTagDefinitionTemplate.Type
The type of tag definition.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
StandardTagDefinitionTemplate(String description,
String tagDefinitionName,
StandardTagDefinitionTemplate.Type type,
List<String> possibleValues,
Boolean isCostTracking,
StandardTagDefinitionTemplate.EnumMutability enumMutability)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static StandardTagDefinitionTemplate.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
The default description of the tag namespace that users can use to create the tag definition
|
StandardTagDefinitionTemplate.EnumMutability |
getEnumMutability()
The mutability of the possible values list for enum tags.
|
Boolean |
getIsCostTracking()
Is the tag a cost tracking tag.
|
List<String> |
getPossibleValues()
List of possible values.
|
String |
getTagDefinitionName()
The name of this standard tag definition
|
StandardTagDefinitionTemplate.Type |
getType()
The type of tag definition.
|
int |
hashCode() |
StandardTagDefinitionTemplate.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"description","tagDefinitionName","type","possibleValues","isCostTracking","enumMutability"}) public StandardTagDefinitionTemplate(String description, String tagDefinitionName, StandardTagDefinitionTemplate.Type type, List<String> possibleValues, Boolean isCostTracking, StandardTagDefinitionTemplate.EnumMutability enumMutability)
public static StandardTagDefinitionTemplate.Builder builder()
Create a new builder.
public StandardTagDefinitionTemplate.Builder toBuilder()
public String getDescription()
The default description of the tag namespace that users can use to create the tag definition
public String getTagDefinitionName()
The name of this standard tag definition
public StandardTagDefinitionTemplate.Type getType()
The type of tag definition. Enum or string.
public List<String> getPossibleValues()
List of possible values. An optional parameter that will be present if the type of definition is enum.
public Boolean getIsCostTracking()
Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
public StandardTagDefinitionTemplate.EnumMutability getEnumMutability()
The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.