public GatewayInstance withGatewayArn(String gatewayArn) {
        setGatewayArn(gatewayArn);
        return this;
    }
The Amazon Resource Name (ARN) of the instance.

@param gatewayArn
       The Amazon Resource Name (ARN) of the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/GatewayInstance.java