CopyableBuilder<BackendServerDescription.Builder,BackendServerDescription>, SdkBuilder<BackendServerDescription.Builder,BackendServerDescription>public static interface BackendServerDescription.Builder extends CopyableBuilder<BackendServerDescription.Builder,BackendServerDescription>
| Modifier and Type | Method | Description |
|---|---|---|
BackendServerDescription.Builder |
instancePort(Integer instancePort) |
The port on which the EC2 instance is listening.
|
BackendServerDescription.Builder |
policyNames(String... policyNames) |
The names of the policies enabled for the EC2 instance.
|
BackendServerDescription.Builder |
policyNames(Collection<String> policyNames) |
The names of the policies enabled for the EC2 instance.
|
copyapply, buildBackendServerDescription.Builder instancePort(Integer instancePort)
The port on which the EC2 instance is listening.
instancePort - The port on which the EC2 instance is listening.BackendServerDescription.Builder policyNames(Collection<String> policyNames)
The names of the policies enabled for the EC2 instance.
policyNames - The names of the policies enabled for the EC2 instance.BackendServerDescription.Builder policyNames(String... policyNames)
The names of the policies enabled for the EC2 instance.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicyNames(java.util.Collection) or #withPolicyNames(java.util.Collection) if you want
to override the existing values.
policyNames - The names of the policies enabled for the EC2 instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.