Class RequestEnvironmentInfoRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest
-
- software.amazon.awssdk.services.elasticbeanstalk.model.RequestEnvironmentInfoRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RequestEnvironmentInfoRequest.Builder,RequestEnvironmentInfoRequest>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRequestEnvironmentInfoRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestEnvironmentInfoRequest.Builderbuilder()StringenvironmentId()The ID of the environment of the requested data.StringenvironmentName()The name of the environment of the requested data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EnvironmentInfoTypeinfoType()The type of information to request.StringinfoTypeAsString()The type of information to request.List<SdkField<?>>sdkFields()static Class<? extends RequestEnvironmentInfoRequest.Builder>serializableBuilderClass()RequestEnvironmentInfoRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
environmentId
public final String environmentId()
The ID of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- The ID of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
environmentName
public final String environmentName()
The name of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- The name of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
infoType
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,
infoTypewill returnEnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominfoTypeAsString().- Returns:
- The type of information to request.
- See Also:
EnvironmentInfoType
-
infoTypeAsString
public 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,
infoTypewill returnEnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominfoTypeAsString().- Returns:
- The type of information to request.
- See Also:
EnvironmentInfoType
-
toBuilder
public RequestEnvironmentInfoRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RequestEnvironmentInfoRequest.Builder,RequestEnvironmentInfoRequest>- Specified by:
toBuilderin classElasticBeanstalkRequest
-
builder
public static RequestEnvironmentInfoRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RequestEnvironmentInfoRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-