Class RedirectAllRequestsTo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedirectAllRequestsTo.Builder,RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringhostName()Name of the host where requests are redirected.final Protocolprotocol()Protocol to use when redirecting requests.final StringProtocol to use when redirecting requests.static Class<? extends RedirectAllRequestsTo.Builder>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
-
hostName
Name of the host where requests are redirected.
- Returns:
- Name of the host where requests are redirected.
-
protocol
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
- See Also:
-
protocolAsString
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedirectAllRequestsTo.Builder,RedirectAllRequestsTo>
-
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
-