public ApplicationDetail withServiceExecutionRole(String serviceExecutionRole) {
        setServiceExecutionRole(serviceExecutionRole);
        return this;
    }
<p>
Specifies the IAM role that the application uses to access external resources.
</p>

@param serviceExecutionRole
       Specifies the IAM role that the application uses to access external resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/ApplicationDetail.java