public CmafGroupSettings withDestination(String destination) {
        setDestination(destination);
        return this;
    }
Use Destination to specify the S3 output location and the output filename base. Destination accepts format
identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input
file. If your job has multiple inputs, the service uses the filename of the first input file.

@param destination
       Use Destination to specify the S3 output location and the output filename base. Destination accepts format
       identifiers. If you do not specify the base filename in the URI, the service will use the filename of the
       input file. If your job has multiple inputs, the service uses the filename of the first input file.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/CmafGroupSettings.java