Example usage for com.amazonaws.services.ec2.model IamInstanceProfileSpecification setName

List of usage examples for com.amazonaws.services.ec2.model IamInstanceProfileSpecification setName

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model IamInstanceProfileSpecification setName.

Prototype


public void setName(String name) 

Source Link

Document

The name of the instance profile.

Usage

From source file:io.druid.indexing.overlord.autoscaling.ec2.EC2IamProfileData.java

License:Apache License

public IamInstanceProfileSpecification toIamInstanceProfileSpecification() {
    final IamInstanceProfileSpecification spec = new IamInstanceProfileSpecification();
    spec.setName(name);
    spec.setArn(arn);/*www. ja v  a2  s  .  co m*/
    return spec;
}