Package | Description |
---|---|
com.amazonaws.services.opsworks.model |
Classes modeling the various types represented by AWSOpsWorks.
|
Modifier and Type | Method and Description |
---|---|
Instance |
Instance.withAmiId(String amiId)
A custom AMI ID to be used to create the instance.
|
Instance |
Instance.withArchitecture(Architecture architecture)
The instance architecture, "i386" or "x86_64".
|
Instance |
Instance.withArchitecture(String architecture)
The instance architecture, "i386" or "x86_64".
|
Instance |
Instance.withAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
Instance |
Instance.withAutoScalingType(String autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
Instance |
Instance.withAvailabilityZone(String availabilityZone)
The instance Availability Zone.
|
Instance |
Instance.withCreatedAt(String createdAt)
The time that the instance was created.
|
Instance |
Instance.withEbsOptimized(Boolean ebsOptimized)
Whether this is an Amazon EBS-optimized instance.
|
Instance |
Instance.withEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.
|
Instance |
Instance.withElasticIp(String elasticIp)
The instance Elastic
IP address .
|
Instance |
Instance.withHostname(String hostname)
The instance host name.
|
Instance |
Instance.withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the
instance boots.
|
Instance |
Instance.withInstanceId(String instanceId)
The instance ID.
|
Instance |
Instance.withInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile.
|
Instance |
Instance.withInstanceType(String instanceType)
The instance type.
|
Instance |
Instance.withLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error.
|
Instance |
Instance.withLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.
|
Instance |
Instance.withLayerIds(String... layerIds)
An array containing the instance layer IDs.
|
Instance |
Instance.withOs(String os)
The instance operating system.
|
Instance |
Instance.withPrivateDns(String privateDns)
The instance private DNS name.
|
Instance |
Instance.withPrivateIp(String privateIp)
The instance private IP address.
|
Instance |
Instance.withPublicDns(String publicDns)
The instance public DNS name.
|
Instance |
Instance.withPublicIp(String publicIp)
The instance public IP address.
|
Instance |
Instance.withRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type.
|
Instance |
Instance.withRootDeviceType(String rootDeviceType)
The instance root device type.
|
Instance |
Instance.withRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.
|
Instance |
Instance.withSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.
|
Instance |
Instance.withSecurityGroupIds(String... securityGroupIds)
An array containing the instance security group IDs.
|
Instance |
Instance.withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's DSA fingerprint.
|
Instance |
Instance.withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
|
Instance |
Instance.withSshKeyName(String sshKeyName)
The instance SSH key name.
|
Instance |
Instance.withStackId(String stackId)
The stack ID.
|
Instance |
Instance.withStatus(String status)
The instance status:
requested
booting running_setup
online setup_failed
start_failed terminating
terminated stopped
connection_lost |
Instance |
Instance.withSubnetId(String subnetId)
The instance's subnet ID, if the stack is running in a VPC.
|
Instance |
Instance.withVirtualizationType(String virtualizationType)
The instance's virtualization type,
paravirtual or
hvm . |
Modifier and Type | Method and Description |
---|---|
List<Instance> |
DescribeInstancesResult.getInstances()
An array of
Instance objects that describe the instances. |
Modifier and Type | Method and Description |
---|---|
DescribeInstancesResult |
DescribeInstancesResult.withInstances(Instance... instances)
An array of
Instance objects that describe the instances. |
Modifier and Type | Method and Description |
---|---|
void |
DescribeInstancesResult.setInstances(Collection<Instance> instances)
An array of
Instance objects that describe the instances. |
DescribeInstancesResult |
DescribeInstancesResult.withInstances(Collection<Instance> instances)
An array of
Instance objects that describe the instances. |
Copyright © 2014. All rights reserved.