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

com.github.dockerjava.api.command.UpdateSwarmCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.github.dockerjava.api.command;


import com.github.dockerjava.api.model.SwarmSpec;

import javax.annotation.CheckForNull;

public interface UpdateSwarmCmd extends SyncDockerCmd {

    @CheckForNull
    Long getVersion();

    UpdateSwarmCmd withVersion(Long version);

    @CheckForNull
    Boolean getRotateWorkerToken();

    UpdateSwarmCmd withRotateWorkerToken(Boolean rotateWorkerToken);

    @CheckForNull
    Boolean getRotateManagerToken();

    UpdateSwarmCmd withRotateManagerToken(Boolean rotateManagerToken);

    @CheckForNull
    SwarmSpec getSwarmSpec();

    UpdateSwarmCmd withSwarmSpec(SwarmSpec swarmSpec);

    @Override
    Void exec();

    interface Exec extends DockerCmdSyncExec {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy