Class SecretKeySelector
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.SecretKeySelector
-
- All Implemented Interfaces:
Editable<SecretKeySelectorBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SecretKeySelector extends Object implements Editable<SecretKeySelectorBuilder>, KubernetesResource
SecretKeySelector selects a key of a Secret.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecretKeySelector()No args constructor for use in serializationSecretKeySelector(String key, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretKeySelectorBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKey()key defines the key of the secret to select from.StringgetName()name defines the name of the secret in the object's namespace to select from.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)key defines the key of the secret to select from.voidsetName(String name)name defines the name of the secret in the object's namespace to select from.SecretKeySelectorBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
key defines the key of the secret to select from. Must be a valid secret key.
-
setKey
public void setKey(String key)
key defines the key of the secret to select from. Must be a valid secret key.
-
getName
public String getName()
name defines the name of the secret in the object's namespace to select from.
-
setName
public void setName(String name)
name defines the name of the secret in the object's namespace to select from.
-
edit
public SecretKeySelectorBuilder edit()
- Specified by:
editin interfaceEditable<SecretKeySelectorBuilder>
-
toBuilder
public SecretKeySelectorBuilder toBuilder()
-
-