Class FixedResponseActionConfig
java.lang.Object
software.amazon.awssdk.services.elasticloadbalancingv2.model.FixedResponseActionConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
@Generated("software.amazon.awssdk:codegen")
public final class FixedResponseActionConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
Information about an action that returns a custom HTTP response.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe content type.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe message.static Class<? extends FixedResponseActionConfig.Builder>final StringThe HTTP response code (2XX, 4XX, or 5XX).final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
messageBody
The message.
- Returns:
- The message.
-
statusCode
The HTTP response code (2XX, 4XX, or 5XX).
- Returns:
- The HTTP response code (2XX, 4XX, or 5XX).
-
contentType
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
- Returns:
- The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FixedResponseActionConfig.Builder,FixedResponseActionConfig>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-