Class PropertyValue
- java.lang.Object
-
- com.pulumi.provider.internal.properties.PropertyValue
-
public class PropertyValue extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyValue.OutputReference
static class
PropertyValue.ResourceReference
static class
PropertyValue.ValueType
-
Field Summary
Fields Modifier and Type Field Description static PropertyValue
COMPUTED
static PropertyValue
NULL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Archive
getArchiveValue()
java.util.List<PropertyValue>
getArrayValue()
Asset
getAssetValue()
java.lang.Boolean
getBooleanValue()
java.lang.Double
getNumberValue()
java.util.Map<java.lang.String,PropertyValue>
getObjectValue()
PropertyValue.OutputReference
getOutputValue()
PropertyValue.ResourceReference
getResourceValue()
PropertyValue
getSecretValue()
java.lang.String
getStringValue()
PropertyValue.ValueType
getType()
<T> T
getValue(java.lang.Class<T> expectedType)
int
hashCode()
boolean
isComputed()
boolean
isNull()
com.google.protobuf.Value
marshal()
static com.google.protobuf.Struct
marshalProperties(java.util.Map<java.lang.String,PropertyValue> properties)
static PropertyValue
of(boolean value)
static PropertyValue
of(double value)
static PropertyValue
of(Archive value)
static PropertyValue
of(Asset value)
static PropertyValue
of(PropertyValue.OutputReference value)
static PropertyValue
of(PropertyValue.ResourceReference value)
static PropertyValue
of(java.lang.String value)
static PropertyValue
of(java.util.List<PropertyValue> value)
static PropertyValue
of(java.util.Map<java.lang.String,PropertyValue> value)
static PropertyValue
ofSecret(PropertyValue value)
java.lang.String
toString()
static PropertyValue
unmarshal(com.google.protobuf.Value value)
static java.util.Map<java.lang.String,PropertyValue>
unmarshalProperties(com.google.protobuf.Struct properties)
-
-
-
Field Detail
-
NULL
public static final PropertyValue NULL
-
COMPUTED
public static final PropertyValue COMPUTED
-
-
Method Detail
-
of
public static PropertyValue of(boolean value)
-
of
public static PropertyValue of(double value)
-
of
public static PropertyValue of(java.lang.String value)
-
of
public static PropertyValue of(java.util.List<PropertyValue> value)
-
of
public static PropertyValue of(java.util.Map<java.lang.String,PropertyValue> value)
-
of
public static PropertyValue of(Asset value)
-
of
public static PropertyValue of(Archive value)
-
ofSecret
public static PropertyValue ofSecret(PropertyValue value)
-
of
public static PropertyValue of(PropertyValue.ResourceReference value)
-
of
public static PropertyValue of(PropertyValue.OutputReference value)
-
getValue
public <T> T getValue(java.lang.Class<T> expectedType)
-
getStringValue
public java.lang.String getStringValue()
-
getBooleanValue
public java.lang.Boolean getBooleanValue()
-
getNumberValue
public java.lang.Double getNumberValue()
-
getArrayValue
public java.util.List<PropertyValue> getArrayValue()
-
getObjectValue
public java.util.Map<java.lang.String,PropertyValue> getObjectValue()
-
getAssetValue
public Asset getAssetValue()
-
getArchiveValue
public Archive getArchiveValue()
-
getSecretValue
public PropertyValue getSecretValue()
-
getResourceValue
public PropertyValue.ResourceReference getResourceValue()
-
getOutputValue
public PropertyValue.OutputReference getOutputValue()
-
getType
public PropertyValue.ValueType getType()
-
isNull
public boolean isNull()
-
isComputed
public boolean isComputed()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
unmarshal
public static PropertyValue unmarshal(com.google.protobuf.Value value)
-
marshal
public com.google.protobuf.Value marshal()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
unmarshalProperties
public static java.util.Map<java.lang.String,PropertyValue> unmarshalProperties(com.google.protobuf.Struct properties)
-
marshalProperties
public static com.google.protobuf.Struct marshalProperties(java.util.Map<java.lang.String,PropertyValue> properties)
-
-