All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.StringBuilder;
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 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.List;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverridesBuilder;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.builder.Fluent;
import java.lang.StringBuffer;
import io.fabric8.knative.internal.pkg.apis.duck.v1.DestinationBuilder;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

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(int index,String item);
    public A setToEventTypes(int index,String item);
    public A addToEventTypes(String... items);
    public A addAllToEventTypes(Collection items);
    public A removeFromEventTypes(String... items);
    public A removeAllFromEventTypes(Collection items);
    public List getEventTypes();
    public String getEventType(int 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(String... eventTypes);
    public Boolean hasEventTypes();
    public A addNewEventType(String arg1);
    public A addNewEventType(StringBuilder arg1);
    public A addNewEventType(StringBuffer arg1);
    public String getGithubAPIURL();
    public A withGithubAPIURL(String githubAPIURL);
    public Boolean hasGithubAPIURL();
    public A withNewGithubAPIURL(String arg1);
    public A withNewGithubAPIURL(StringBuilder arg1);
    public A withNewGithubAPIURL(StringBuffer arg1);
    public String getOwnerAndRepository();
    public A withOwnerAndRepository(String ownerAndRepository);
    public Boolean hasOwnerAndRepository();
    public A withNewOwnerAndRepository(String arg1);
    public A withNewOwnerAndRepository(StringBuilder arg1);
    public A withNewOwnerAndRepository(StringBuffer arg1);
    
/**
 * 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 isSecure();
    public A withSecure(Boolean secure);
    public Boolean hasSecure();
    public A withNewSecure(String arg1);
    public A withNewSecure(boolean arg1);
    public String getServiceAccountName();
    public A withServiceAccountName(String serviceAccountName);
    public Boolean hasServiceAccountName();
    public A withNewServiceAccountName(String arg1);
    public A withNewServiceAccountName(StringBuilder arg1);
    public A withNewServiceAccountName(StringBuffer arg1);
    
/**
 * 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 interface AccessTokenNested extends io.fabric8.kubernetes.api.builder.Nested,SecretValueFromSourceFluent> {

        public N and();
        public N endAccessToken();    }


    public interface CeOverridesNested extends io.fabric8.kubernetes.api.builder.Nested,CloudEventOverridesFluent> {

        public N and();
        public N endCeOverrides();    }


    public interface SecretTokenNested extends io.fabric8.kubernetes.api.builder.Nested,SecretValueFromSourceFluent> {

        public N and();
        public N endSecretToken();    }


    public interface SinkNested extends io.fabric8.kubernetes.api.builder.Nested,DestinationFluent> {

        public N and();
        public N endSink();    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy