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) |
Modifier and Type | Method and Description |
---|---|
ThirdPartyResourceFluent.VersionsNested<A> |
addNewVersion() |
A |
addNewVersion(String name) |
ThirdPartyResourceFluent.VersionsNested<A> |
addNewVersionLike(APIVersion item) |
A |
addToVersions(APIVersion... items) |
ThirdPartyResourceFluent.MetadataNested<A> |
editMetadata() |
boolean |
equals(Object o) |
String |
getApiVersion() |
String |
getDescription() |
String |
getKind() |
ObjectMeta |
getMetadata() |
List<APIVersion> |
getVersions() |
A |
removeFromVersions(APIVersion... items) |
A |
withApiVersion(String apiVersion) |
A |
withDescription(String description) |
A |
withKind(String kind) |
A |
withMetadata(ObjectMeta metadata) |
ThirdPartyResourceFluent.MetadataNested<A> |
withNewMetadata() |
ThirdPartyResourceFluent.MetadataNested<A> |
withNewMetadataLike(ObjectMeta item) |
A |
withVersions(APIVersion... versions) |
A |
withVersions(List<APIVersion> versions) |
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 String getDescription()
getDescription
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withDescription(String description)
withDescription
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 ObjectMeta getMetadata()
getMetadata
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
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 A addToVersions(APIVersion... items)
addToVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public A removeFromVersions(APIVersion... items)
removeFromVersions
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
public List<APIVersion> getVersions()
getVersions
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 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 A addNewVersion(String name)
addNewVersion
in interface ThirdPartyResourceFluent<A extends ThirdPartyResourceFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.