public FleetAttributes withScriptArn(String scriptArn) {
        setScriptArn(scriptArn);
        return this;
    }
<p>
The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>)
associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script
ARN, the resource ID matches the <code>ScriptId</code> value.
</p>

@param scriptArn
       The Amazon Resource Name (<a
       href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) associated with the
       GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the
       resource ID matches the <code>ScriptId</code> value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/FleetAttributes.java