Class GitHubSourceSpecFluentImpl<A extends GitHubSourceSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubSourceSpecFluentImpl<A>
-
- All Implemented Interfaces:
GitHubSourceSpecFluent<A>,io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>
- Direct Known Subclasses:
GitHubSourceFluentImpl.SpecNestedImpl,GitHubSourceSpecBuilder
public class GitHubSourceSpecFluentImpl<A extends GitHubSourceSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements GitHubSourceSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGitHubSourceSpecFluentImpl.AccessTokenNestedImpl<N>classGitHubSourceSpecFluentImpl.CeOverridesNestedImpl<N>classGitHubSourceSpecFluentImpl.SecretTokenNestedImpl<N>classGitHubSourceSpecFluentImpl.SinkNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubSourceSpecFluent
GitHubSourceSpecFluent.AccessTokenNested<N>, GitHubSourceSpecFluent.CeOverridesNested<N>, GitHubSourceSpecFluent.SecretTokenNested<N>, GitHubSourceSpecFluent.SinkNested<N>
-
-
Constructor Summary
Constructors Constructor Description GitHubSourceSpecFluentImpl()GitHubSourceSpecFluentImpl(GitHubSourceSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
GitHubSourceSpecFluentImpl
public GitHubSourceSpecFluentImpl()
-
GitHubSourceSpecFluentImpl
public GitHubSourceSpecFluentImpl(GitHubSourceSpec instance)
-
-
Method Detail
-
getAccessToken
@Deprecated public SecretValueFromSource getAccessToken()
Deprecated.This method has been deprecated, please use method buildAccessToken instead.- Specified by:
getAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildAccessToken
public SecretValueFromSource buildAccessToken()
- Specified by:
buildAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withAccessToken
public A withAccessToken(SecretValueFromSource accessToken)
- Specified by:
withAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasAccessToken
public Boolean hasAccessToken()
- Specified by:
hasAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewAccessToken
public GitHubSourceSpecFluent.AccessTokenNested<A> withNewAccessToken()
- Specified by:
withNewAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewAccessTokenLike
public GitHubSourceSpecFluent.AccessTokenNested<A> withNewAccessTokenLike(SecretValueFromSource item)
- Specified by:
withNewAccessTokenLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editAccessToken
public GitHubSourceSpecFluent.AccessTokenNested<A> editAccessToken()
- Specified by:
editAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewAccessToken
public GitHubSourceSpecFluent.AccessTokenNested<A> editOrNewAccessToken()
- Specified by:
editOrNewAccessTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewAccessTokenLike
public GitHubSourceSpecFluent.AccessTokenNested<A> editOrNewAccessTokenLike(SecretValueFromSource item)
- Specified by:
editOrNewAccessTokenLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getCeOverrides
@Deprecated public CloudEventOverrides getCeOverrides()
Deprecated.This method has been deprecated, please use method buildCeOverrides instead.- Specified by:
getCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildCeOverrides
public CloudEventOverrides buildCeOverrides()
- Specified by:
buildCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withCeOverrides
public A withCeOverrides(CloudEventOverrides ceOverrides)
- Specified by:
withCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasCeOverrides
public Boolean hasCeOverrides()
- Specified by:
hasCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewCeOverrides
public GitHubSourceSpecFluent.CeOverridesNested<A> withNewCeOverrides()
- Specified by:
withNewCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewCeOverridesLike
public GitHubSourceSpecFluent.CeOverridesNested<A> withNewCeOverridesLike(CloudEventOverrides item)
- Specified by:
withNewCeOverridesLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editCeOverrides
public GitHubSourceSpecFluent.CeOverridesNested<A> editCeOverrides()
- Specified by:
editCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewCeOverrides
public GitHubSourceSpecFluent.CeOverridesNested<A> editOrNewCeOverrides()
- Specified by:
editOrNewCeOverridesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewCeOverridesLike
public GitHubSourceSpecFluent.CeOverridesNested<A> editOrNewCeOverridesLike(CloudEventOverrides item)
- Specified by:
editOrNewCeOverridesLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addToEventTypes
public A addToEventTypes(int index, String item)
- Specified by:
addToEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
setToEventTypes
public A setToEventTypes(int index, String item)
- Specified by:
setToEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addToEventTypes
public A addToEventTypes(String... items)
- Specified by:
addToEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addAllToEventTypes
public A addAllToEventTypes(Collection<String> items)
- Specified by:
addAllToEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
removeFromEventTypes
public A removeFromEventTypes(String... items)
- Specified by:
removeFromEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
removeAllFromEventTypes
public A removeAllFromEventTypes(Collection<String> items)
- Specified by:
removeAllFromEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getEventTypes
public List<String> getEventTypes()
- Specified by:
getEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getEventType
public String getEventType(int index)
- Specified by:
getEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getFirstEventType
public String getFirstEventType()
- Specified by:
getFirstEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getLastEventType
public String getLastEventType()
- Specified by:
getLastEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getMatchingEventType
public String getMatchingEventType(Predicate<String> predicate)
- Specified by:
getMatchingEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasMatchingEventType
public Boolean hasMatchingEventType(Predicate<String> predicate)
- Specified by:
hasMatchingEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withEventTypes
public A withEventTypes(List<String> eventTypes)
- Specified by:
withEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withEventTypes
public A withEventTypes(String... eventTypes)
- Specified by:
withEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasEventTypes
public Boolean hasEventTypes()
- Specified by:
hasEventTypesin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addNewEventType
public A addNewEventType(String arg1)
- Specified by:
addNewEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addNewEventType
public A addNewEventType(StringBuilder arg1)
- Specified by:
addNewEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
addNewEventType
public A addNewEventType(StringBuffer arg1)
- Specified by:
addNewEventTypein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getGithubAPIURL
public String getGithubAPIURL()
- Specified by:
getGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withGithubAPIURL
public A withGithubAPIURL(String githubAPIURL)
- Specified by:
withGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasGithubAPIURL
public Boolean hasGithubAPIURL()
- Specified by:
hasGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewGithubAPIURL
public A withNewGithubAPIURL(String arg1)
- Specified by:
withNewGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewGithubAPIURL
public A withNewGithubAPIURL(StringBuilder arg1)
- Specified by:
withNewGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewGithubAPIURL
public A withNewGithubAPIURL(StringBuffer arg1)
- Specified by:
withNewGithubAPIURLin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getOwnerAndRepository
public String getOwnerAndRepository()
- Specified by:
getOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withOwnerAndRepository
public A withOwnerAndRepository(String ownerAndRepository)
- Specified by:
withOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasOwnerAndRepository
public Boolean hasOwnerAndRepository()
- Specified by:
hasOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewOwnerAndRepository
public A withNewOwnerAndRepository(String arg1)
- Specified by:
withNewOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewOwnerAndRepository
public A withNewOwnerAndRepository(StringBuilder arg1)
- Specified by:
withNewOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewOwnerAndRepository
public A withNewOwnerAndRepository(StringBuffer arg1)
- Specified by:
withNewOwnerAndRepositoryin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getSecretToken
@Deprecated public SecretValueFromSource getSecretToken()
Deprecated.This method has been deprecated, please use method buildSecretToken instead.- Specified by:
getSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildSecretToken
public SecretValueFromSource buildSecretToken()
- Specified by:
buildSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withSecretToken
public A withSecretToken(SecretValueFromSource secretToken)
- Specified by:
withSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasSecretToken
public Boolean hasSecretToken()
- Specified by:
hasSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSecretToken
public GitHubSourceSpecFluent.SecretTokenNested<A> withNewSecretToken()
- Specified by:
withNewSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSecretTokenLike
public GitHubSourceSpecFluent.SecretTokenNested<A> withNewSecretTokenLike(SecretValueFromSource item)
- Specified by:
withNewSecretTokenLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editSecretToken
public GitHubSourceSpecFluent.SecretTokenNested<A> editSecretToken()
- Specified by:
editSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewSecretToken
public GitHubSourceSpecFluent.SecretTokenNested<A> editOrNewSecretToken()
- Specified by:
editOrNewSecretTokenin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewSecretTokenLike
public GitHubSourceSpecFluent.SecretTokenNested<A> editOrNewSecretTokenLike(SecretValueFromSource item)
- Specified by:
editOrNewSecretTokenLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
isSecure
public Boolean isSecure()
- Specified by:
isSecurein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withSecure
public A withSecure(Boolean secure)
- Specified by:
withSecurein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasSecure
public Boolean hasSecure()
- Specified by:
hasSecurein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSecure
public A withNewSecure(String arg1)
- Specified by:
withNewSecurein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSecure
public A withNewSecure(boolean arg1)
- Specified by:
withNewSecurein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getServiceAccountName
public String getServiceAccountName()
- Specified by:
getServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withServiceAccountName
public A withServiceAccountName(String serviceAccountName)
- Specified by:
withServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasServiceAccountName
public Boolean hasServiceAccountName()
- Specified by:
hasServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(String arg1)
- Specified by:
withNewServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(StringBuilder arg1)
- Specified by:
withNewServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewServiceAccountName
public A withNewServiceAccountName(StringBuffer arg1)
- Specified by:
withNewServiceAccountNamein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
getSink
@Deprecated public Destination getSink()
Deprecated.This method has been deprecated, please use method buildSink instead.- Specified by:
getSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildSink
public Destination buildSink()
- Specified by:
buildSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withSink
public A withSink(Destination sink)
- Specified by:
withSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
hasSink
public Boolean hasSink()
- Specified by:
hasSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSink
public GitHubSourceSpecFluent.SinkNested<A> withNewSink()
- Specified by:
withNewSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
withNewSinkLike
public GitHubSourceSpecFluent.SinkNested<A> withNewSinkLike(Destination item)
- Specified by:
withNewSinkLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editSink
public GitHubSourceSpecFluent.SinkNested<A> editSink()
- Specified by:
editSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewSink
public GitHubSourceSpecFluent.SinkNested<A> editOrNewSink()
- Specified by:
editOrNewSinkin interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
editOrNewSinkLike
public GitHubSourceSpecFluent.SinkNested<A> editOrNewSinkLike(Destination item)
- Specified by:
editOrNewSinkLikein interfaceGitHubSourceSpecFluent<A extends GitHubSourceSpecFluent<A>>
-
-