public static final class AwsRequestSigning.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder> implements AwsRequestSigningOrBuilder
Top level configuration for the AWS request signing filter.Protobuf type
envoy.config.filter.http.aws_request_signing.v2alpha.AwsRequestSigning| Modifier and Type | Method and Description |
|---|---|
AwsRequestSigning.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AwsRequestSigning |
build() |
AwsRequestSigning |
buildPartial() |
AwsRequestSigning.Builder |
clear() |
AwsRequestSigning.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AwsRequestSigning.Builder |
clearHostRewrite()
Indicates that before signing headers, the host header will be swapped with
this value.
|
AwsRequestSigning.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AwsRequestSigning.Builder |
clearRegion()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP
endpoint.
|
AwsRequestSigning.Builder |
clearServiceName()
The `service namespace
<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
of the HTTP endpoint.
|
AwsRequestSigning.Builder |
clone() |
AwsRequestSigning |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostRewrite()
Indicates that before signing headers, the host header will be swapped with
this value.
|
com.google.protobuf.ByteString |
getHostRewriteBytes()
Indicates that before signing headers, the host header will be swapped with
this value.
|
String |
getRegion()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP
endpoint.
|
com.google.protobuf.ByteString |
getRegionBytes()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP
endpoint.
|
String |
getServiceName()
The `service namespace
<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
of the HTTP endpoint.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
The `service namespace
<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
of the HTTP endpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AwsRequestSigning.Builder |
mergeFrom(AwsRequestSigning other) |
AwsRequestSigning.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AwsRequestSigning.Builder |
mergeFrom(com.google.protobuf.Message other) |
AwsRequestSigning.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AwsRequestSigning.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AwsRequestSigning.Builder |
setHostRewrite(String value)
Indicates that before signing headers, the host header will be swapped with
this value.
|
AwsRequestSigning.Builder |
setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that before signing headers, the host header will be swapped with
this value.
|
AwsRequestSigning.Builder |
setRegion(String value)
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP
endpoint.
|
AwsRequestSigning.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP
endpoint.
|
AwsRequestSigning.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AwsRequestSigning.Builder |
setServiceName(String value)
The `service namespace
<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
of the HTTP endpoint.
|
AwsRequestSigning.Builder |
setServiceNameBytes(com.google.protobuf.ByteString value)
The `service namespace
<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
of the HTTP endpoint.
|
AwsRequestSigning.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AwsRequestSigning build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AwsRequestSigning buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AwsRequestSigning.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder mergeFrom(AwsRequestSigning other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public AwsRequestSigning.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsRequestSigning.Builder>IOExceptionpublic String getServiceName()
The `service namespace <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ of the HTTP endpoint. Example: s3
string service_name = 1 [(.validate.rules) = { ... }getServiceName in interface AwsRequestSigningOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
The `service namespace <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ of the HTTP endpoint. Example: s3
string service_name = 1 [(.validate.rules) = { ... }getServiceNameBytes in interface AwsRequestSigningOrBuilderpublic AwsRequestSigning.Builder setServiceName(String value)
The `service namespace <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ of the HTTP endpoint. Example: s3
string service_name = 1 [(.validate.rules) = { ... }public AwsRequestSigning.Builder clearServiceName()
The `service namespace <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ of the HTTP endpoint. Example: s3
string service_name = 1 [(.validate.rules) = { ... }public AwsRequestSigning.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
The `service namespace <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ of the HTTP endpoint. Example: s3
string service_name = 1 [(.validate.rules) = { ... }public String getRegion()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP endpoint. Example: us-west-2
string region = 2 [(.validate.rules) = { ... }getRegion in interface AwsRequestSigningOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP endpoint. Example: us-west-2
string region = 2 [(.validate.rules) = { ... }getRegionBytes in interface AwsRequestSigningOrBuilderpublic AwsRequestSigning.Builder setRegion(String value)
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP endpoint. Example: us-west-2
string region = 2 [(.validate.rules) = { ... }public AwsRequestSigning.Builder clearRegion()
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP endpoint. Example: us-west-2
string region = 2 [(.validate.rules) = { ... }public AwsRequestSigning.Builder setRegionBytes(com.google.protobuf.ByteString value)
The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP endpoint. Example: us-west-2
string region = 2 [(.validate.rules) = { ... }public String getHostRewrite()
Indicates that before signing headers, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both signing and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for signing whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 3;getHostRewrite in interface AwsRequestSigningOrBuilderpublic com.google.protobuf.ByteString getHostRewriteBytes()
Indicates that before signing headers, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both signing and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for signing whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 3;getHostRewriteBytes in interface AwsRequestSigningOrBuilderpublic AwsRequestSigning.Builder setHostRewrite(String value)
Indicates that before signing headers, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both signing and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for signing whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 3;public AwsRequestSigning.Builder clearHostRewrite()
Indicates that before signing headers, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both signing and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for signing whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 3;public AwsRequestSigning.Builder setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that before signing headers, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both signing and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_route.RouteAction.host_rewrite>` given that the value set here would be used for signing whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite = 3;public final AwsRequestSigning.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>public final AwsRequestSigning.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsRequestSigning.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.