public InstanceProfileCredentialsProvider(String roleName)
 {
     this.roleName = roleName;
     this.fetcher  = new ECSMetadataServiceCredentialsFetcher();
     this.fetcher.SetRoleName(roleName);
 }
 public InstanceProfileCredentialsProvider withFetcher(ECSMetadataServiceCredentialsFetcher fetcher)
 {
     this.fetcher = fetcher;
     this.fetcher.SetRoleName(roleName);
     return(this);
 }
 public void withFetcher(ECSMetadataServiceCredentialsFetcher fetcher)
 {
     this.fetcher = fetcher;
     this.fetcher.SetRoleName(roleName);
 }