@Generated(value="software.amazon.awssdk:codegen") public final class DescribeServersResponse extends OpsWorksCmResponse implements ToCopyableBuilder<DescribeServersResponse.Builder,DescribeServersResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeServersResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeServersResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasServers()
For responses, this returns true if the service returned a value for the Servers property.
|
String |
nextToken()
This is not currently implemented for
DescribeServers requests. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeServersResponse.Builder> |
serializableBuilderClass() |
List<Server> |
servers()
Contains the response to a
DescribeServers request. |
DescribeServersResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasServers()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Server> servers()
Contains the response to a DescribeServers request.
For Chef Automate servers: If DescribeServersResponse$Servers$EngineAttributes includes
CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server to Chef Automate 2. To be eligible for
upgrade, a server running Chef Automate 1 must have had at least one successful maintenance run after November 1,
2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes contains the following
two responses:
PUPPET_API_CA_CERT, the PEM-encoded CA certificate that is used by the Puppet API over TCP port
number 8140. The CA certificate is also used to sign node certificates.
PUPPET_API_CRL, a certificate revocation list. The certificate revocation list is for internal
maintenance purposes only. For more information about the Puppet certificate revocation list, see Man Page: puppet
certificate_revocation_list in the Puppet documentation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasServers() method.
DescribeServers request.
For Chef Automate servers: If DescribeServersResponse$Servers$EngineAttributes
includes CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server to Chef Automate 2. To be
eligible for upgrade, a server running Chef Automate 1 must have had at least one successful maintenance
run after November 1, 2019.
For Puppet servers: DescribeServersResponse$Servers$EngineAttributes contains the
following two responses:
PUPPET_API_CA_CERT, the PEM-encoded CA certificate that is used by the Puppet API over TCP
port number 8140. The CA certificate is also used to sign node certificates.
PUPPET_API_CRL, a certificate revocation list. The certificate revocation list is for
internal maintenance purposes only. For more information about the Puppet certificate revocation list,
see Man Page: puppet
certificate_revocation_list in the Puppet documentation.
public final String nextToken()
This is not currently implemented for DescribeServers requests.
DescribeServers requests.public DescribeServersResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeServersResponse.Builder,DescribeServersResponse>toBuilder in class AwsResponsepublic static DescribeServersResponse.Builder builder()
public static Class<? extends DescribeServersResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.