public static class DockerTemplateOptions.Builder extends Object
Constructor and Description |
---|
DockerTemplateOptions.Builder() |
public static DockerTemplateOptions volumes(Map<String,String> volumes)
DockerTemplateOptions.volumes(Map)
public static DockerTemplateOptions dns(String... dns)
DockerTemplateOptions.dns(String...)
public static DockerTemplateOptions dns(Iterable<String> dns)
DockerTemplateOptions#dns(List)
public static DockerTemplateOptions hostname(@Nullable String hostname)
public static DockerTemplateOptions memory(@Nullable Integer memory)
public static DockerTemplateOptions entrypoint(String... entrypoint)
public static DockerTemplateOptions entrypoint(Iterable<String> entrypoint)
public static DockerTemplateOptions commands(String... commands)
public static DockerTemplateOptions commands(Iterable<String> commands)
public static DockerTemplateOptions cpuShares(@Nullable Integer cpuShares)
public static DockerTemplateOptions env(String... env)
DockerTemplateOptions.env(String...)
public static DockerTemplateOptions env(Iterable<String> env)
DockerTemplateOptions.env(Iterable)
public static DockerTemplateOptions portBindings(Map<Integer,Integer> portBindings)
public static DockerTemplateOptions networkMode(@Nullable String networkMode)
public static DockerTemplateOptions extraHosts(Map<String,String> extraHosts)
public static DockerTemplateOptions privileged(boolean privileged)
public static DockerTemplateOptions openStdin(boolean openStdin)
public static DockerTemplateOptions configBuilder(Config.Builder configBuilder)
public static DockerTemplateOptions volumesFrom(Iterable<String> volumesFrom)
public static DockerTemplateOptions inboundPorts(int... ports)
TemplateOptions.inboundPorts(int...)
public static DockerTemplateOptions blockOnPort(int port, int seconds)
public static DockerTemplateOptions installPrivateKey(String rsaKey)
public static DockerTemplateOptions authorizePublicKey(String rsaKey)
public static DockerTemplateOptions userMetadata(Map<String,String> userMetadata)
TemplateOptions.userMetadata(Map)
public static DockerTemplateOptions nodeNames(Iterable<String> nodeNames)
TemplateOptions.nodeNames(Iterable)
public static DockerTemplateOptions networks(Iterable<String> networks)
TemplateOptions.networks(Iterable)
public static DockerTemplateOptions overrideLoginUser(String user)
public static DockerTemplateOptions overrideLoginPassword(String password)
public static DockerTemplateOptions overrideLoginPrivateKey(String privateKey)
public static DockerTemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
public static DockerTemplateOptions overrideLoginCredentials(LoginCredentials credentials)
public static DockerTemplateOptions blockUntilRunning(boolean blockUntilRunning)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.