Class ClusterMetadata
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.ClusterMetadata
-
- All Implemented Interfaces:
Editable<ClusterMetadataBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterMetadata extends Object implements Editable<ClusterMetadataBuilder>, KubernetesResource
ClusterMetadata contains metadata information about the installed cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterMetadata()No args constructor for use in serializationClusterMetadata(LocalObjectReference adminKubeconfigSecretRef, LocalObjectReference adminPasswordSecretRef, String clusterID, String infraID, ClusterPlatformMetadata platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMetadataBuilderedit()Map<String,Object>getAdditionalProperties()LocalObjectReferencegetAdminKubeconfigSecretRef()ClusterMetadata contains metadata information about the installed cluster.LocalObjectReferencegetAdminPasswordSecretRef()ClusterMetadata contains metadata information about the installed cluster.StringgetClusterID()ClusterID is a globally unique identifier for this cluster generated during installation.StringgetInfraID()InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.ClusterPlatformMetadatagetPlatform()ClusterMetadata contains metadata information about the installed cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAdminKubeconfigSecretRef(LocalObjectReference adminKubeconfigSecretRef)ClusterMetadata contains metadata information about the installed cluster.voidsetAdminPasswordSecretRef(LocalObjectReference adminPasswordSecretRef)ClusterMetadata contains metadata information about the installed cluster.voidsetClusterID(String clusterID)ClusterID is a globally unique identifier for this cluster generated during installation.voidsetInfraID(String infraID)InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.voidsetPlatform(ClusterPlatformMetadata platform)ClusterMetadata contains metadata information about the installed cluster.ClusterMetadataBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterMetadata
public ClusterMetadata()
No args constructor for use in serialization
-
ClusterMetadata
public ClusterMetadata(LocalObjectReference adminKubeconfigSecretRef, LocalObjectReference adminPasswordSecretRef, String clusterID, String infraID, ClusterPlatformMetadata platform)
-
-
Method Detail
-
getAdminKubeconfigSecretRef
public LocalObjectReference getAdminKubeconfigSecretRef()
ClusterMetadata contains metadata information about the installed cluster.
-
setAdminKubeconfigSecretRef
public void setAdminKubeconfigSecretRef(LocalObjectReference adminKubeconfigSecretRef)
ClusterMetadata contains metadata information about the installed cluster.
-
getAdminPasswordSecretRef
public LocalObjectReference getAdminPasswordSecretRef()
ClusterMetadata contains metadata information about the installed cluster.
-
setAdminPasswordSecretRef
public void setAdminPasswordSecretRef(LocalObjectReference adminPasswordSecretRef)
ClusterMetadata contains metadata information about the installed cluster.
-
getClusterID
public String getClusterID()
ClusterID is a globally unique identifier for this cluster generated during installation. Used for reporting metrics among other places.
-
setClusterID
public void setClusterID(String clusterID)
ClusterID is a globally unique identifier for this cluster generated during installation. Used for reporting metrics among other places.
-
getInfraID
public String getInfraID()
InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.
-
setInfraID
public void setInfraID(String infraID)
InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.
-
getPlatform
public ClusterPlatformMetadata getPlatform()
ClusterMetadata contains metadata information about the installed cluster.
-
setPlatform
public void setPlatform(ClusterPlatformMetadata platform)
ClusterMetadata contains metadata information about the installed cluster.
-
edit
public ClusterMetadataBuilder edit()
- Specified by:
editin interfaceEditable<ClusterMetadataBuilder>
-
toBuilder
public ClusterMetadataBuilder toBuilder()
-
-