// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 package aws.proserve.bcs.dr.lambda.cmd; import java.util.List; import java.util.Map; /** * A command interface with read-only methods to obtain its content. */ public interface Command { /** * @return an unmodifiable list of all the tokens. */ List asList(); /** * @return a string representation of the command. */ String asString(); /** * @return an unmodifiable map of all environment properties. */ Map getExports(); }