Class StringSourceSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.StringSourceSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StringSourceSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StringSourceSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<StringSourceSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
StringSourceSpec specifies a string value, or external location- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringSourceSpec()No args constructor for use in serializationStringSourceSpec(String env, String file, String keyFile, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringSourceSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEnv()Env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.StringgetFile()File references a file containing the cleartext value, or an encrypted value if a keyFile is specified.StringgetKeyFile()KeyFile references a file containing the key to use to decrypt the value.StringgetValue()Value specifies the cleartext value, or an encrypted value if keyFile is specified.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEnv(String env)Env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.voidsetFile(String file)File references a file containing the cleartext value, or an encrypted value if a keyFile is specified.voidsetKeyFile(String keyFile)KeyFile references a file containing the key to use to decrypt the value.voidsetValue(String value)Value specifies the cleartext value, or an encrypted value if keyFile is specified.StringSourceSpecBuildertoBuilder()
-
-
-
Method Detail
-
getEnv
public String getEnv()
Env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.
-
setEnv
public void setEnv(String env)
Env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.
-
getFile
public String getFile()
File references a file containing the cleartext value, or an encrypted value if a keyFile is specified.
-
setFile
public void setFile(String file)
File references a file containing the cleartext value, or an encrypted value if a keyFile is specified.
-
getKeyFile
public String getKeyFile()
KeyFile references a file containing the key to use to decrypt the value.
-
setKeyFile
public void setKeyFile(String keyFile)
KeyFile references a file containing the key to use to decrypt the value.
-
getValue
public String getValue()
Value specifies the cleartext value, or an encrypted value if keyFile is specified.
-
setValue
public void setValue(String value)
Value specifies the cleartext value, or an encrypted value if keyFile is specified.
-
edit
public StringSourceSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StringSourceSpecBuilder>
-
toBuilder
public StringSourceSpecBuilder toBuilder()
-
-