Example usage for com.amazonaws.services.ec2.model SpotInstanceRequest getTags

List of usage examples for com.amazonaws.services.ec2.model SpotInstanceRequest getTags

Introduction

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

Prototype


public java.util.List<Tag> getTags() 

Source Link

Document

Any tags assigned to the resource.

Usage

From source file:hudson.plugins.ec2.SlaveTemplate.java

License:Open Source License

protected EC2SpotSlave newSpotSlave(SpotInstanceRequest sir, String name) throws FormException, IOException {
    return new EC2SpotSlave(name, sir.getSpotInstanceRequestId(), description, remoteFS, getNumExecutors(),
            mode, initScript, tmpDir, labels, remoteAdmin, jvmopts, idleTerminationMinutes,
            EC2Tag.fromAmazonTags(sir.getTags()), parent.name, usePrivateDnsName, getLaunchTimeout(), amiType);
}