PoolAssociationInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. PoolAssociationInner
- com.
Implements
public final class PoolAssociationInner
implements JsonSerializable<PoolAssociationInner>
IpamPool association information.
Constructor Summary
Constructor | Description |
---|---|
PoolAssociationInner() |
Creates an instance of Pool |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
addressPrefixes()
Get the address |
Offset |
createdAt()
Get the created |
String |
description()
Get the description property: The description property. |
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
String |
numberOfReservedIpAddresses()
Get the number |
String |
poolId()
Get the pool |
Offset |
reservationExpiresAt()
Get the reservation |
List<String> |
reservedPrefixes()
Get the reserved |
String |
resourceId()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
totalNumberOfIpAddresses()
Get the total |
void |
validate()
Validates the instance. |
Pool |
withDescription(String description)
Set the description property: The description property. |
Pool |
withPoolId(String poolId)
Set the pool |
Pool |
withResourceId(String resourceId)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
PoolAssociationInner
public PoolAssociationInner()
Creates an instance of PoolAssociationInner class.
Method Details
addressPrefixes
public List
Get the addressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.
Returns:
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: Creation time of the association.
Returns:
description
public String description()
Get the description property: The description property.
Returns:
fromJson
public static PoolAssociationInner fromJson(JsonReader jsonReader)
Reads an instance of PoolAssociationInner from the JsonReader.
Parameters:
Returns:
Throws:
numberOfReservedIpAddresses
public String numberOfReservedIpAddresses()
Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses of the association.
Returns:
poolId
public String poolId()
Get the poolId property: IpamPool id for which the resource is associated to.
Returns:
reservationExpiresAt
public OffsetDateTime reservationExpiresAt()
Get the reservationExpiresAt property: Expire time for IP addresses reserved.
Returns:
reservedPrefixes
public List
Get the reservedPrefixes property: List of reserved IP address prefixes in the IpamPool of the associated resource.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Resource id of the associated Azure resource.
Returns:
toJson
totalNumberOfIpAddresses
public String totalNumberOfIpAddresses()
Get the totalNumberOfIpAddresses property: Total number of assigned IP addresses of the association.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public PoolAssociationInner withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
withPoolId
public PoolAssociationInner withPoolId(String poolId)
Set the poolId property: IpamPool id for which the resource is associated to.
Parameters:
Returns:
withResourceId
public PoolAssociationInner withResourceId(String resourceId)
Set the resourceId property: Resource id of the associated Azure resource.
Parameters:
Returns:
Applies to
Azure SDK for Java