Interface AZAffinity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AZAffinity.Builder,,AZAffinity> SdkBuilder<AZAffinity.Builder,,AZAffinity> SdkPojo
- Enclosing class:
AZAffinity
-
Method Summary
Modifier and TypeMethodDescriptionlocationId(String locationId) The ID of the location.locationType(String locationType) The level of the location thatLocationIdidentifies.locationType(AZAffinityLocationType locationType) The level of the location thatLocationIdidentifies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locationType
The level of the location that
LocationIdidentifies. Valid values, from most to least specific:-
AvailabilityZone: A single Availability Zone. -
AvailabilityZoneGroup: A Zone Group, which is a group of Availability Zones in an Amazon Web Services Region. -
Region: An entire Amazon Web Services Region. -
Partition: An entire Amazon Web Services partition. -
Global: All locations.
We recommend that you create a record for the
Globallocation type so that every query gets an answer. Route 53 responds with it when a query matches no more specific record, or when it's the only healthy record that matches. Without aGlobalrecord, Route 53 returns a "no answer" response to queries that don't match any other record.- Parameters:
locationType- The level of the location thatLocationIdidentifies. Valid values, from most to least specific:-
AvailabilityZone: A single Availability Zone. -
AvailabilityZoneGroup: A Zone Group, which is a group of Availability Zones in an Amazon Web Services Region. -
Region: An entire Amazon Web Services Region. -
Partition: An entire Amazon Web Services partition. -
Global: All locations.
We recommend that you create a record for the
Globallocation type so that every query gets an answer. Route 53 responds with it when a query matches no more specific record, or when it's the only healthy record that matches. Without aGlobalrecord, Route 53 returns a "no answer" response to queries that don't match any other record.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
locationType
The level of the location that
LocationIdidentifies. Valid values, from most to least specific:-
AvailabilityZone: A single Availability Zone. -
AvailabilityZoneGroup: A Zone Group, which is a group of Availability Zones in an Amazon Web Services Region. -
Region: An entire Amazon Web Services Region. -
Partition: An entire Amazon Web Services partition. -
Global: All locations.
We recommend that you create a record for the
Globallocation type so that every query gets an answer. Route 53 responds with it when a query matches no more specific record, or when it's the only healthy record that matches. Without aGlobalrecord, Route 53 returns a "no answer" response to queries that don't match any other record.- Parameters:
locationType- The level of the location thatLocationIdidentifies. Valid values, from most to least specific:-
AvailabilityZone: A single Availability Zone. -
AvailabilityZoneGroup: A Zone Group, which is a group of Availability Zones in an Amazon Web Services Region. -
Region: An entire Amazon Web Services Region. -
Partition: An entire Amazon Web Services partition. -
Global: All locations.
We recommend that you create a record for the
Globallocation type so that every query gets an answer. Route 53 responds with it when a query matches no more specific record, or when it's the only healthy record that matches. Without aGlobalrecord, Route 53 returns a "no answer" response to queries that don't match any other record.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
locationId
The ID of the location. You can specify only generally available Availability Zones and Zone Groups. Zone Group, Region, and partition IDs must belong to a partition that you can use. Specify the ID in lowercase, in the format that corresponds to
LocationType:-
For
AvailabilityZone, the Availability Zone ID (not the Availability Zone name or a Local Zone ID), such asuse1-az1. -
For
AvailabilityZoneGroup, the Zone Group that an Availability Zone belongs to (not a Local Zone group), such asus-east-1-zg-1. -
For
Region, the Region code, such asus-east-1. -
For
Partition, the partition name, such asaws. -
For
Global, the valueglobal.
- Parameters:
locationId- The ID of the location. You can specify only generally available Availability Zones and Zone Groups. Zone Group, Region, and partition IDs must belong to a partition that you can use. Specify the ID in lowercase, in the format that corresponds toLocationType:-
For
AvailabilityZone, the Availability Zone ID (not the Availability Zone name or a Local Zone ID), such asuse1-az1. -
For
AvailabilityZoneGroup, the Zone Group that an Availability Zone belongs to (not a Local Zone group), such asus-east-1-zg-1. -
For
Region, the Region code, such asus-east-1. -
For
Partition, the partition name, such asaws. -
For
Global, the valueglobal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-