Class AciContainerTemplateFluent<T extends AciContainerTemplateFluent<T>>

java.lang.Object
com.microsoft.jenkins.containeragents.builders.AciContainerTemplateFluent<T>
Direct Known Subclasses:
AciCloudBuilder.AciContainerTemplateNested, AciContainerTemplateBuilder

public class AciContainerTemplateFluent<T extends AciContainerTemplateFluent<T>> extends Object
  • Method Details

    • withPrivateIpAddress

      public T withPrivateIpAddress(AciPrivateIpAddress privateIpAddress)
    • withName

      public T withName(String name)
    • withLabel

      public T withLabel(String label)
    • withImage

      public T withImage(String image)
    • withOsType

      public T withOsType(String osType)
    • withCommand

      public T withCommand(String command)
    • withRootFs

      public T withRootFs(String rootFs)
    • withTimeout

      public T withTimeout(int timeout)
    • withPorts

      public T withPorts(List<AciPort> ports)
    • addToPorts

      public T addToPorts(AciPort... ports)
    • addNewPort

      public T addNewPort(String port)
    • withCpu

      public T withCpu(String cpu)
    • withMemory

      public T withMemory(String memory)
    • withOnceRetentionStrategy

      public T withOnceRetentionStrategy()
    • withIdleRetentionStrategy

      public T withIdleRetentionStrategy(int idle)
    • withEnvVars

      public T withEnvVars(List<PodEnvVar> envVars)
    • addToEnvVars

      public T addToEnvVars(PodEnvVar... envVars)
    • addNewEnvVar

      public T addNewEnvVar(String key, String value)
    • withPrivateRegistryCredentials

      public T withPrivateRegistryCredentials(List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> privateRegistryCredentials)
    • addToPrivateRegistryCredentials

      public T addToPrivateRegistryCredentials(org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint... privateRegistryCredentials)
    • addNewPrivateRegistryCredential

      public T addNewPrivateRegistryCredential(String registryUrl, String credentialsId)
    • withVolume

      public T withVolume(List<AzureFileVolume> volumes)
    • addToVolumes

      public T addToVolumes(AzureFileVolume... volumes)
    • addNewAzureFileVolume

      public T addNewAzureFileVolume(String mountPath, String shareName, String credentialsId)
    • withJNLPLaunchMethod

      public T withJNLPLaunchMethod()
    • withSSHLaunchMethod

      public T withSSHLaunchMethod(String sshCredentialsId, String sshPort)
    • getName

      public String getName()
    • getLabel

      public String getLabel()
    • getImage

      public String getImage()
    • getOsType

      public String getOsType()
    • getCommand

      public String getCommand()
    • getRootFs

      public String getRootFs()
    • getTimeout

      public int getTimeout()
    • getPorts

      public List<AciPort> getPorts()
    • getCpu

      public String getCpu()
    • getMemory

      public String getMemory()
    • getRetentionStrategy

      public RetentionStrategy<?> getRetentionStrategy()
    • getEnvVars

      public List<PodEnvVar> getEnvVars()
    • getPrivateRegistryCredentials

      public List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> getPrivateRegistryCredentials()
    • getVolumes

      public List<AzureFileVolume> getVolumes()
    • getLaunchMethodType

      public String getLaunchMethodType()
    • getSshCredentialsId

      public String getSshCredentialsId()
    • getSshPort

      public String getSshPort()
    • getPrivateIpAddress

      public AciPrivateIpAddress getPrivateIpAddress()