public ECSMetadataServiceCredentialsFetcher()

in src/main/java/com/aliyun/credentials/provider/ECSMetadataServiceCredentialsFetcher.java [49:55]


    public ECSMetadataServiceCredentialsFetcher(String roleName, Boolean disableIMDSv1, Integer connectionTimeout, Integer readTimeout) {
        this.connectionTimeout = connectionTimeout == null ? 1000 : connectionTimeout;
        this.readTimeout = readTimeout == null ? 1000 : readTimeout;
        this.disableIMDSv1 = disableIMDSv1 == null ? false : disableIMDSv1;
        this.roleName = roleName;
        setCredentialUrl();
    }