Class SecretReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.SecretReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SecretReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SecretReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<SecretReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SecretReference is a reference to a secret by name and namespace- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecretReference()No args constructor for use in serializationSecretReference(String name, String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()Name is the name of the secretStringgetNamespace()Namespace is the namespace where the secret lives.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)Name is the name of the secretvoidsetNamespace(String namespace)Namespace is the namespace where the secret lives.SecretReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
Name is the name of the secret
-
setName
public void setName(String name)
Name is the name of the secret
-
getNamespace
public String getNamespace()
Namespace is the namespace where the secret lives. If not present for the source secret reference, it is assumed to be the same namespace as the syncset with the reference.
-
setNamespace
public void setNamespace(String namespace)
Namespace is the namespace where the secret lives. If not present for the source secret reference, it is assumed to be the same namespace as the syncset with the reference.
-
edit
public SecretReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SecretReferenceBuilder>
-
toBuilder
public SecretReferenceBuilder toBuilder()
-
-