public class ThirdPartyResourceFluentImpl<A extends ThirdPartyResourceFluent<A>> extends BaseFluent<A> implements ThirdPartyResourceFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ThirdPartyResourceFluentImpl.MetadataNestedImpl<N> |
class |
ThirdPartyResourceFluentImpl.VersionsNestedImpl<N> |
ThirdPartyResourceFluent.MetadataNested<N>, ThirdPartyResourceFluent.VersionsNested<N>
_visitables
Constructor and Description |
---|
ThirdPartyResourceFluentImpl() |
ThirdPartyResourceFluentImpl(ThirdPartyResource instance) |
public ThirdPartyResourceFluentImpl()
public ThirdPartyResourceFluentImpl(ThirdPartyResource instance)
public String getApiVersion()
getApiVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public String getDescription()
getDescription
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withDescription(String description)
withDescription
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public Boolean hasDescription()
hasDescription
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public String getKind()
getKind
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withKind(String kind)
withKind
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public Boolean hasKind()
hasKind
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A addToVersions(int index, APIVersion item)
addToVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A setToVersions(int index, APIVersion item)
setToVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A addToVersions(APIVersion... items)
addToVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A addAllToVersions(Collection<APIVersion> items)
addAllToVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A removeFromVersions(APIVersion... items)
removeFromVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A removeAllFromVersions(Collection<APIVersion> items)
removeAllFromVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
@Deprecated public List<APIVersion> getVersions()
getVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public List<APIVersion> buildVersions()
buildVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public APIVersion buildVersion(int index)
buildVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public APIVersion buildFirstVersion()
buildFirstVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public APIVersion buildLastVersion()
buildLastVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public APIVersion buildMatchingVersion(Predicate<APIVersionBuilder> predicate)
buildMatchingVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withVersions(List<APIVersion> versions)
withVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withVersions(APIVersion... versions)
withVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public Boolean hasVersions()
hasVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> addNewVersion()
addNewVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> addNewVersionLike(APIVersion item)
addNewVersionLike
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> setNewVersionLike(int index, APIVersion item)
setNewVersionLike
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> editVersion(int index)
editVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> editFirstVersion()
editFirstVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> editLastVersion()
editLastVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public ThirdPartyResourceFluent.VersionsNested<A> editMatchingVersion(Predicate<APIVersionBuilder> predicate)
editMatchingVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A addNewVersion(String name)
addNewVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.