Class 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 Detail

      • SecretReference

        public SecretReference()
        No args constructor for use in serialization
      • SecretReference

        public SecretReference​(String name,
                               String namespace)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)