Interface Address.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Address.Builder,Address>,SdkBuilder<Address.Builder,Address>,SdkPojo
- Enclosing class:
- Address
public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address.Buildercity(String city)Specifies the endCustomer's city associated with theOpportunity.Address.BuildercountryCode(String countryCode)Specifies the endCustomer's country associated with theOpportunity.Address.BuildercountryCode(CountryCode countryCode)Specifies the endCustomer's country associated with theOpportunity.Address.BuilderpostalCode(String postalCode)Specifies the endCustomer's postal code associated with theOpportunity.Address.BuilderstateOrRegion(String stateOrRegion)Specifies the endCustomer's state or region associated with theOpportunity.Address.BuilderstreetAddress(String streetAddress)Specifies the endCustomer's street address associated with theOpportunity.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
city
Address.Builder city(String city)
Specifies the end
Customer's city associated with theOpportunity.- Parameters:
city- Specifies the endCustomer's city associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
Address.Builder countryCode(String countryCode)
Specifies the end
Customer's country associated with theOpportunity.- Parameters:
countryCode- Specifies the endCustomer's country associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CountryCode,CountryCode
-
countryCode
Address.Builder countryCode(CountryCode countryCode)
Specifies the end
Customer's country associated with theOpportunity.- Parameters:
countryCode- Specifies the endCustomer's country associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CountryCode,CountryCode
-
postalCode
Address.Builder postalCode(String postalCode)
Specifies the end
Customer's postal code associated with theOpportunity.- Parameters:
postalCode- Specifies the endCustomer's postal code associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateOrRegion
Address.Builder stateOrRegion(String stateOrRegion)
Specifies the end
Customer's state or region associated with theOpportunity.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP- Parameters:
stateOrRegion- Specifies the endCustomer's state or region associated with theOpportunity.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streetAddress
Address.Builder streetAddress(String streetAddress)
Specifies the end
Customer's street address associated with theOpportunity.- Parameters:
streetAddress- Specifies the endCustomer's street address associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-