Partager via


PoolAssociationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.PoolAssociationInner

Implements

public final class PoolAssociationInner
implements JsonSerializable<PoolAssociationInner>

IpamPool association information.

Constructor Summary

Constructor Description
PoolAssociationInner()

Creates an instance of PoolAssociationInner class.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.

OffsetDateTime createdAt()

Get the createdAt property: Creation time of the association.

String description()

Get the description property: The description property.

static PoolAssociationInner fromJson(JsonReader jsonReader)

Reads an instance of PoolAssociationInner from the JsonReader.

String numberOfReservedIpAddresses()

Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses of the association.

String poolId()

Get the poolId property: IpamPool id for which the resource is associated to.

OffsetDateTime reservationExpiresAt()

Get the reservationExpiresAt property: Expire time for IP addresses reserved.

List<String> reservedPrefixes()

Get the reservedPrefixes property: List of reserved IP address prefixes in the IpamPool of the associated resource.

String resourceId()

Get the resourceId property: Resource id of the associated Azure resource.

JsonWriter toJson(JsonWriter jsonWriter)
String totalNumberOfIpAddresses()

Get the totalNumberOfIpAddresses property: Total number of assigned IP addresses of the association.

void validate()

Validates the instance.

PoolAssociationInner withDescription(String description)

Set the description property: The description property.

PoolAssociationInner withPoolId(String poolId)

Set the poolId property: IpamPool id for which the resource is associated to.

PoolAssociationInner withResourceId(String resourceId)

Set the resourceId property: Resource id of the associated Azure resource.

Methods inherited from java.lang.Object

Constructor Details

PoolAssociationInner

public PoolAssociationInner()

Creates an instance of PoolAssociationInner class.

Method Details

addressPrefixes

public List addressPrefixes()

Get the addressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.

Returns:

the addressPrefixes value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: Creation time of the association.

Returns:

the createdAt value.

description

public String description()

Get the description property: The description property.

Returns:

the description value.

fromJson

public static PoolAssociationInner fromJson(JsonReader jsonReader)

Reads an instance of PoolAssociationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolAssociationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

numberOfReservedIpAddresses

public String numberOfReservedIpAddresses()

Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses of the association.

Returns:

the numberOfReservedIpAddresses value.

poolId

public String poolId()

Get the poolId property: IpamPool id for which the resource is associated to.

Returns:

the poolId value.

reservationExpiresAt

public OffsetDateTime reservationExpiresAt()

Get the reservationExpiresAt property: Expire time for IP addresses reserved.

Returns:

the reservationExpiresAt value.

reservedPrefixes

public List reservedPrefixes()

Get the reservedPrefixes property: List of reserved IP address prefixes in the IpamPool of the associated resource.

Returns:

the reservedPrefixes value.

resourceId

public String resourceId()

Get the resourceId property: Resource id of the associated Azure resource.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalNumberOfIpAddresses

public String totalNumberOfIpAddresses()

Get the totalNumberOfIpAddresses property: Total number of assigned IP addresses of the association.

Returns:

the totalNumberOfIpAddresses value.

validate

public void validate()

Validates the instance.

withDescription

public PoolAssociationInner withDescription(String description)

Set the description property: The description property.

Parameters:

description - the description value to set.

Returns:

the PoolAssociationInner object itself.

withPoolId

public PoolAssociationInner withPoolId(String poolId)

Set the poolId property: IpamPool id for which the resource is associated to.

Parameters:

poolId - the poolId value to set.

Returns:

the PoolAssociationInner object itself.

withResourceId

public PoolAssociationInner withResourceId(String resourceId)

Set the resourceId property: Resource id of the associated Azure resource.

Parameters:

resourceId - the resourceId value to set.

Returns:

the PoolAssociationInner object itself.

Applies to