public class KerberosComponentDescriptor extends AbstractKerberosDescriptorContainer
AbstractKerberosDescriptorContainer
)AbstractKerberosDescriptorContainer
){ "$schema": "http://json-schema.org/draft-04/schema#", "title": "KerberosComponentDescriptor", "description": "Describes an Ambari component", "type": "object", "properties": { "identities": { "description": "A list of Kerberos identity descriptors", "type": "array", "items": { "title": "KerberosIdentityDescriptor" "type": "In this implementation,KerberosIdentityDescriptor
" } }, "configurations": { "description": "A list of relevant configuration blocks", "type": "array", "items": { "title": "KerberosConfigurationDescriptor" "type": "KerberosConfigurationDescriptor
" } } } }
AbstractKerberosDescriptor.name
will hold the
KerberosComponentDescriptor#name valueAbstractKerberosDescriptor.Type
AUTH_TO_LOCAL_PROPERTY_SPECIFICATION_PATTERN
Constructor and Description |
---|
KerberosComponentDescriptor(Map<?,?> data)
Creates a new KerberosComponentDescriptor
See
KerberosComponentDescriptor for an
example JSON structure that may be used to generate this map. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
AbstractKerberosDescriptorContainer |
getChildContainer(String name)
Returns a specific named child container
|
Collection<? extends AbstractKerberosDescriptorContainer> |
getChildContainers()
Returns the child containers associated with this container.
|
int |
hashCode() |
getAuthToLocalProperties, getConfiguration, getConfigurations, getConfigurations, getDescriptor, getIdentities, getIdentities, getIdentitiesSkipReferences, getIdentity, getReferencedIdentityDescriptor, isContainer, putAuthToLocalProperty, putConfiguration, putIdentity, removeIdentity, setAuthToLocalProperties, setConfigurations, setIdentities, toMap, update
getBooleanValue, getBooleanValue, getName, getParent, getPath, getRoot, getStringValue, getValue, nullToEmpty, nullToEmpty, nullToEmpty, setName, setParent
public KerberosComponentDescriptor(Map<?,?> data)
KerberosComponentDescriptor
for an
example JSON structure that may be used to generate this map.data
- a Map of values use to populate the data for the new instanceKerberosComponentDescriptor
public Collection<? extends AbstractKerberosDescriptorContainer> getChildContainers()
AbstractKerberosDescriptorContainer
getChildContainers
in class AbstractKerberosDescriptorContainer
AbstractKerberosDescriptorContainer
spublic AbstractKerberosDescriptorContainer getChildContainer(String name)
AbstractKerberosDescriptorContainer
getChildContainer
in class AbstractKerberosDescriptorContainer
name
- the name of the child container to retrieveAbstractKerberosDescriptorContainer
public int hashCode()
hashCode
in class AbstractKerberosDescriptorContainer
public boolean equals(Object object)
equals
in class AbstractKerberosDescriptorContainer
Copyright © 2022 Apache Software Foundation. All rights reserved.