io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubSourceSpecFluent Maven / Gradle / Ivy
package io.fabric8.knative.eventing.contrib.github.v1alpha1;
import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination;
import io.fabric8.kubernetes.api.builder.Fluent;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import io.fabric8.knative.internal.pkg.apis.duck.v1.DestinationFluent;
import java.lang.Integer;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides;
import java.lang.Deprecated;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverridesFluent;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface GitHubSourceSpecFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildAccessToken instead.
* @return The buildable object.
*/
@Deprecated
public SecretValueFromSource getAccessToken();
public SecretValueFromSource buildAccessToken();
public A withAccessToken(SecretValueFromSource accessToken);
public Boolean hasAccessToken();
public GitHubSourceSpecFluent.AccessTokenNested withNewAccessToken();
public GitHubSourceSpecFluent.AccessTokenNested withNewAccessTokenLike(SecretValueFromSource item);
public GitHubSourceSpecFluent.AccessTokenNested editAccessToken();
public GitHubSourceSpecFluent.AccessTokenNested editOrNewAccessToken();
public GitHubSourceSpecFluent.AccessTokenNested editOrNewAccessTokenLike(SecretValueFromSource item);
/**
* This method has been deprecated, please use method buildCeOverrides instead.
* @return The buildable object.
*/
@Deprecated
public CloudEventOverrides getCeOverrides();
public CloudEventOverrides buildCeOverrides();
public A withCeOverrides(CloudEventOverrides ceOverrides);
public Boolean hasCeOverrides();
public GitHubSourceSpecFluent.CeOverridesNested withNewCeOverrides();
public GitHubSourceSpecFluent.CeOverridesNested withNewCeOverridesLike(CloudEventOverrides item);
public GitHubSourceSpecFluent.CeOverridesNested editCeOverrides();
public GitHubSourceSpecFluent.CeOverridesNested editOrNewCeOverrides();
public GitHubSourceSpecFluent.CeOverridesNested editOrNewCeOverridesLike(CloudEventOverrides item);
public A addToEventTypes(Integer index,String item);
public A setToEventTypes(Integer index,String item);
public A addToEventTypes(java.lang.String... items);
public A addAllToEventTypes(Collection items);
public A removeFromEventTypes(java.lang.String... items);
public A removeAllFromEventTypes(Collection items);
public List getEventTypes();
public String getEventType(Integer index);
public String getFirstEventType();
public String getLastEventType();
public String getMatchingEventType(Predicate predicate);
public Boolean hasMatchingEventType(Predicate predicate);
public A withEventTypes(List eventTypes);
public A withEventTypes(java.lang.String... eventTypes);
public Boolean hasEventTypes();
public String getGithubAPIURL();
public A withGithubAPIURL(String githubAPIURL);
public Boolean hasGithubAPIURL();
public String getOwnerAndRepository();
public A withOwnerAndRepository(String ownerAndRepository);
public Boolean hasOwnerAndRepository();
/**
* This method has been deprecated, please use method buildSecretToken instead.
* @return The buildable object.
*/
@Deprecated
public SecretValueFromSource getSecretToken();
public SecretValueFromSource buildSecretToken();
public A withSecretToken(SecretValueFromSource secretToken);
public Boolean hasSecretToken();
public GitHubSourceSpecFluent.SecretTokenNested withNewSecretToken();
public GitHubSourceSpecFluent.SecretTokenNested withNewSecretTokenLike(SecretValueFromSource item);
public GitHubSourceSpecFluent.SecretTokenNested editSecretToken();
public GitHubSourceSpecFluent.SecretTokenNested editOrNewSecretToken();
public GitHubSourceSpecFluent.SecretTokenNested editOrNewSecretTokenLike(SecretValueFromSource item);
public Boolean getSecure();
public A withSecure(Boolean secure);
public Boolean hasSecure();
public String getServiceAccountName();
public A withServiceAccountName(String serviceAccountName);
public Boolean hasServiceAccountName();
/**
* This method has been deprecated, please use method buildSink instead.
* @return The buildable object.
*/
@Deprecated
public Destination getSink();
public Destination buildSink();
public A withSink(Destination sink);
public Boolean hasSink();
public GitHubSourceSpecFluent.SinkNested withNewSink();
public GitHubSourceSpecFluent.SinkNested withNewSinkLike(Destination item);
public GitHubSourceSpecFluent.SinkNested editSink();
public GitHubSourceSpecFluent.SinkNested editOrNewSink();
public GitHubSourceSpecFluent.SinkNested editOrNewSinkLike(Destination item);
public A withSecure();
public interface AccessTokenNested extends Nested,SecretValueFromSourceFluent>{
public N and();
public N endAccessToken();
}
public interface CeOverridesNested extends Nested,CloudEventOverridesFluent>{
public N and();
public N endCeOverrides();
}
public interface SecretTokenNested extends Nested,SecretValueFromSourceFluent>{
public N and();
public N endSecretToken();
}
public interface SinkNested extends Nested,DestinationFluent>{
public N and();
public N endSink();
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy