List of usage examples for com.amazonaws.services.ec2.model IamInstanceProfileSpecification setName
public void setName(String name)
The name of the instance profile.
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; }