Class SecretObjectReference

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SecretObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SecretObjectReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SecretObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SecretObjectReference identifies an API object including its namespace, defaulting to Secret.


    The API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid.


    References to objects with invalid Group and Kind are not valid, and must be rejected by the implementation, with appropriate Conditions set on the containing object.

    See Also:
    Serialized Form
    • Constructor Detail

      • SecretObjectReference

        public SecretObjectReference()
        No args constructor for use in serialization
    • Method Detail

      • getGroup

        public String getGroup()
        Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred.
      • setGroup

        public void setGroup​(String group)
        Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred.
      • getKind

        public String getKind()
        Kind is kind of the referent. For example "Secret".
      • setKind

        public void setKind​(String kind)
        Kind is kind of the referent. For example "Secret".
      • getName

        public String getName()
        Name is the name of the referent.
      • setName

        public void setName​(String name)
        Name is the name of the referent.
      • getNamespace

        public String getNamespace()
        Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred.


        Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.


        Support: Core

      • setNamespace

        public void setNamespace​(String namespace)
        Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred.


        Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.


        Support: Core

      • getAdditionalProperties

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

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

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