public class PolicyFluentImpl<T extends PolicyFluent<T>> extends BaseFluent<T> implements PolicyFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
PolicyFluentImpl.MetadataNestedImpl<N> |
class |
PolicyFluentImpl.RolesNestedImpl<N> |
PolicyFluent.MetadataNested<N>, PolicyFluent.RolesNested<N>
_visitables
Constructor and Description |
---|
PolicyFluentImpl() |
PolicyFluentImpl(Policy instance) |
public PolicyFluentImpl()
public PolicyFluentImpl(Policy instance)
public Policy.ApiVersion getApiVersion()
getApiVersion
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withApiVersion(Policy.ApiVersion apiVersion)
withApiVersion
in interface PolicyFluent<T extends PolicyFluent<T>>
public String getKind()
getKind
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withKind(String kind)
withKind
in interface PolicyFluent<T extends PolicyFluent<T>>
public String getLastModified()
getLastModified
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withLastModified(String lastModified)
withLastModified
in interface PolicyFluent<T extends PolicyFluent<T>>
public ObjectMeta getMetadata()
getMetadata
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withMetadata(ObjectMeta metadata)
withMetadata
in interface PolicyFluent<T extends PolicyFluent<T>>
public PolicyFluent.MetadataNested<T> withNewMetadata()
withNewMetadata
in interface PolicyFluent<T extends PolicyFluent<T>>
public PolicyFluent.MetadataNested<T> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface PolicyFluent<T extends PolicyFluent<T>>
public PolicyFluent.MetadataNested<T> editMetadata()
editMetadata
in interface PolicyFluent<T extends PolicyFluent<T>>
public T addToRoles(NamedRole... items)
addToRoles
in interface PolicyFluent<T extends PolicyFluent<T>>
public T removeFromRoles(NamedRole... items)
removeFromRoles
in interface PolicyFluent<T extends PolicyFluent<T>>
public List<NamedRole> getRoles()
getRoles
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withRoles(List<NamedRole> roles)
withRoles
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withRoles(NamedRole... roles)
withRoles
in interface PolicyFluent<T extends PolicyFluent<T>>
public PolicyFluent.RolesNested<T> addNewRole()
addNewRole
in interface PolicyFluent<T extends PolicyFluent<T>>
public PolicyFluent.RolesNested<T> addNewRoleLike(NamedRole item)
addNewRoleLike
in interface PolicyFluent<T extends PolicyFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface PolicyFluent<T extends PolicyFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.