@Generated(value="software.amazon.awssdk:codegen") public final class ModifyIpamRequest extends Ec2Request implements ToCopyableBuilder<ModifyIpamRequest.Builder,ModifyIpamRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyIpamRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<AddIpamOperatingRegion> |
addOperatingRegions()
Choose the operating Regions for the IPAM.
|
static ModifyIpamRequest.Builder |
builder() |
String |
description()
The description of the IPAM you want to modify.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddOperatingRegions()
For responses, this returns true if the service returned a value for the AddOperatingRegions property.
|
int |
hashCode() |
boolean |
hasRemoveOperatingRegions()
For responses, this returns true if the service returned a value for the RemoveOperatingRegions property.
|
String |
ipamId()
The ID of the IPAM you want to modify.
|
List<RemoveIpamOperatingRegion> |
removeOperatingRegions()
The operating Regions to remove.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyIpamRequest.Builder> |
serializableBuilderClass() |
ModifyIpamRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String ipamId()
The ID of the IPAM you want to modify.
public final String description()
The description of the IPAM you want to modify.
public final boolean hasAddOperatingRegions()
isEmpty()
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.public final List<AddIpamOperatingRegion> addOperatingRegions()
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
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 hasAddOperatingRegions()
method.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
public final boolean hasRemoveOperatingRegions()
isEmpty()
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.public final List<RemoveIpamOperatingRegion> removeOperatingRegions()
The operating Regions to remove.
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 hasRemoveOperatingRegions()
method.
public ModifyIpamRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ModifyIpamRequest.Builder,ModifyIpamRequest>
toBuilder
in class Ec2Request
public static ModifyIpamRequest.Builder builder()
public static Class<? extends ModifyIpamRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.