public class RoleFluentImpl<T extends RoleFluent<T>> extends BaseFluent<T> implements RoleFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
RoleFluentImpl.MetadataNestedImpl<N> |
class |
RoleFluentImpl.RulesNestedImpl<N> |
RoleFluent.MetadataNested<N>, RoleFluent.RulesNested<N>
_visitables
Constructor and Description |
---|
RoleFluentImpl() |
RoleFluentImpl(Role instance) |
public RoleFluentImpl()
public RoleFluentImpl(Role instance)
public Role.ApiVersion getApiVersion()
getApiVersion
in interface RoleFluent<T extends RoleFluent<T>>
public T withApiVersion(Role.ApiVersion apiVersion)
withApiVersion
in interface RoleFluent<T extends RoleFluent<T>>
public String getKind()
getKind
in interface RoleFluent<T extends RoleFluent<T>>
public T withKind(String kind)
withKind
in interface RoleFluent<T extends RoleFluent<T>>
public ObjectMeta getMetadata()
getMetadata
in interface RoleFluent<T extends RoleFluent<T>>
public T withMetadata(ObjectMeta metadata)
withMetadata
in interface RoleFluent<T extends RoleFluent<T>>
public RoleFluent.MetadataNested<T> withNewMetadata()
withNewMetadata
in interface RoleFluent<T extends RoleFluent<T>>
public RoleFluent.MetadataNested<T> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface RoleFluent<T extends RoleFluent<T>>
public RoleFluent.MetadataNested<T> editMetadata()
editMetadata
in interface RoleFluent<T extends RoleFluent<T>>
public T addToRules(PolicyRule... items)
addToRules
in interface RoleFluent<T extends RoleFluent<T>>
public T removeFromRules(PolicyRule... items)
removeFromRules
in interface RoleFluent<T extends RoleFluent<T>>
public List<PolicyRule> getRules()
getRules
in interface RoleFluent<T extends RoleFluent<T>>
public T withRules(List<PolicyRule> rules)
withRules
in interface RoleFluent<T extends RoleFluent<T>>
public T withRules(PolicyRule... rules)
withRules
in interface RoleFluent<T extends RoleFluent<T>>
public RoleFluent.RulesNested<T> addNewRule()
addNewRule
in interface RoleFluent<T extends RoleFluent<T>>
public RoleFluent.RulesNested<T> addNewRuleLike(PolicyRule item)
addNewRuleLike
in interface RoleFluent<T extends RoleFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface RoleFluent<T extends RoleFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.