@Generated(value="software.amazon.awssdk:codegen") public final class RequestEnvironmentInfoRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<RequestEnvironmentInfoRequest.Builder,RequestEnvironmentInfoRequest>
Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RequestEnvironmentInfoRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RequestEnvironmentInfoRequest.Builder |
builder() |
String |
environmentId()
The ID of the environment of the requested data.
|
String |
environmentName()
The name of the environment of the requested data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EnvironmentInfoType |
infoType()
The type of information to request.
|
String |
infoTypeAsString()
The type of information to request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RequestEnvironmentInfoRequest.Builder> |
serializableBuilderClass() |
RequestEnvironmentInfoRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String environmentId()
The ID of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic
Beanstalk returns MissingRequiredParameter error.
If no such environment is found, RequestEnvironmentInfo returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter error.
public final String environmentName()
The name of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic
Beanstalk returns MissingRequiredParameter error.
If no such environment is found, RequestEnvironmentInfo returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter error.
public final EnvironmentInfoType infoType()
The type of information to request.
If the service returns an enum value that is not available in the current SDK version, infoType will
return EnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from infoTypeAsString().
EnvironmentInfoTypepublic final String infoTypeAsString()
The type of information to request.
If the service returns an enum value that is not available in the current SDK version, infoType will
return EnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from infoTypeAsString().
EnvironmentInfoTypepublic RequestEnvironmentInfoRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RequestEnvironmentInfoRequest.Builder,RequestEnvironmentInfoRequest>toBuilder in class ElasticBeanstalkRequestpublic static RequestEnvironmentInfoRequest.Builder builder()
public static Class<? extends RequestEnvironmentInfoRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2022. All rights reserved.