public FleetAttributes withInstanceRoleCredentialsProvider(String instanceRoleCredentialsProvider) {
        setInstanceRoleCredentialsProvider(instanceRoleCredentialsProvider);
        return this;
    }
<p>
Indicates that fleet instances maintain a shared credentials file for the IAM role defined in
<code>InstanceRoleArn</code>. Shared credentials allow applications that are deployed with the game server
executable to communicate with other Amazon Web Services resources. This property is used only when the game
server is integrated with the server SDK version 5.x. For more information about using shared credentials, see <a
href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html"> Communicate
with other Amazon Web Services resources from your fleets</a>. This attribute is used with fleets where
<code>ComputeType</code> is "EC2" or "Container".
</p>

@param instanceRoleCredentialsProvider
       Indicates that fleet instances maintain a shared credentials file for the IAM role defined in
       <code>InstanceRoleArn</code>. Shared credentials allow applications that are deployed with the game server
       executable to communicate with other Amazon Web Services resources. This property is used only when the
       game server is integrated with the server SDK version 5.x. For more information about using shared
       credentials, see <a
       href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html">
       Communicate with other Amazon Web Services resources from your fleets</a>. This attribute is used with
       fleets where <code>ComputeType</code> is "EC2" or "Container".
@return Returns a reference to this object so that method calls can be chained together.
@see InstanceRoleCredentialsProvider
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/FleetAttributes.java