Class UpdateVpcEndpointRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest
-
- software.amazon.awssdk.services.opensearchserverless.model.UpdateVpcEndpointRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateVpcEndpointRequest.Builder,UpdateVpcEndpointRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateVpcEndpointRequest extends OpenSearchServerlessRequest implements ToCopyableBuilder<UpdateVpcEndpointRequest.Builder,UpdateVpcEndpointRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateVpcEndpointRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>addSecurityGroupIds()The unique identifiers of the security groups to add to the endpoint.List<String>addSubnetIds()The ID of one or more subnets to add to the endpoint.static UpdateVpcEndpointRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier to ensure idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAddSecurityGroupIds()For responses, this returns true if the service returned a value for the AddSecurityGroupIds property.booleanhasAddSubnetIds()For responses, this returns true if the service returned a value for the AddSubnetIds property.inthashCode()booleanhasRemoveSecurityGroupIds()For responses, this returns true if the service returned a value for the RemoveSecurityGroupIds property.booleanhasRemoveSubnetIds()For responses, this returns true if the service returned a value for the RemoveSubnetIds property.Stringid()The unique identifier of the interface endpoint to update.List<String>removeSecurityGroupIds()The unique identifiers of the security groups to remove from the endpoint.List<String>removeSubnetIds()The unique identifiers of the subnets to remove from the endpoint.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateVpcEndpointRequest.Builder>serializableBuilderClass()UpdateVpcEndpointRequest.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
-
hasAddSecurityGroupIds
public final boolean hasAddSecurityGroupIds()
For responses, this returns true if the service returned a value for the AddSecurityGroupIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
addSecurityGroupIds
public final List<String> addSecurityGroupIds()
The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAddSecurityGroupIds()method.- Returns:
- The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
-
hasAddSubnetIds
public final boolean hasAddSubnetIds()
For responses, this returns true if the service returned a value for the AddSubnetIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
addSubnetIds
public final List<String> addSubnetIds()
The ID of one or more subnets to add to the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAddSubnetIds()method.- Returns:
- The ID of one or more subnets to add to the endpoint.
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
- Returns:
- Unique, case-sensitive identifier to ensure idempotency of the request.
-
id
public final String id()
The unique identifier of the interface endpoint to update.
- Returns:
- The unique identifier of the interface endpoint to update.
-
hasRemoveSecurityGroupIds
public final boolean hasRemoveSecurityGroupIds()
For responses, this returns true if the service returned a value for the RemoveSecurityGroupIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
removeSecurityGroupIds
public final List<String> removeSecurityGroupIds()
The unique identifiers of the security groups to remove from the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRemoveSecurityGroupIds()method.- Returns:
- The unique identifiers of the security groups to remove from the endpoint.
-
hasRemoveSubnetIds
public final boolean hasRemoveSubnetIds()
For responses, this returns true if the service returned a value for the RemoveSubnetIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
removeSubnetIds
public final List<String> removeSubnetIds()
The unique identifiers of the subnets to remove from the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRemoveSubnetIds()method.- Returns:
- The unique identifiers of the subnets to remove from the endpoint.
-
toBuilder
public UpdateVpcEndpointRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateVpcEndpointRequest.Builder,UpdateVpcEndpointRequest>- Specified by:
toBuilderin classOpenSearchServerlessRequest
-
builder
public static UpdateVpcEndpointRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateVpcEndpointRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-