CopyableBuilder<DescribeEnvironmentHealthRequest.Builder,DescribeEnvironmentHealthRequest>
, SdkBuilder<DescribeEnvironmentHealthRequest.Builder,DescribeEnvironmentHealthRequest>
public static interface DescribeEnvironmentHealthRequest.Builder extends CopyableBuilder<DescribeEnvironmentHealthRequest.Builder,DescribeEnvironmentHealthRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeEnvironmentHealthRequest.Builder |
attributeNames(String... attributeNames) |
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest.Builder |
attributeNames(Collection<String> attributeNames) |
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest.Builder |
attributeNames(EnvironmentHealthAttribute... attributeNames) |
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest.Builder |
environmentId(String environmentId) |
Specify the environment by ID.
|
DescribeEnvironmentHealthRequest.Builder |
environmentName(String environmentName) |
Specify the environment by name.
|
copy
apply, build
DescribeEnvironmentHealthRequest.Builder environmentName(String environmentName)
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
environmentName
- Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
DescribeEnvironmentHealthRequest.Builder environmentId(String environmentId)
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
environmentId
- Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
DescribeEnvironmentHealthRequest.Builder attributeNames(Collection<String> attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
DescribeEnvironmentHealthRequest.Builder attributeNames(String... attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
NOTE: This method appends the values to the existing list (if any). Use
#setAttributeNames(java.util.Collection)
or #withAttributeNames(java.util.Collection)
if you
want to override the existing values.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
DescribeEnvironmentHealthRequest.Builder attributeNames(EnvironmentHealthAttribute... attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
NOTE: This method appends the values to the existing list (if any). Use
#setAttributeNames(java.util.Collection)
or #withAttributeNames(java.util.Collection)
if you
want to override the existing values.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.