Interface Address.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Address.Builder,Address>, SdkBuilder<Address.Builder,Address>, SdkPojo
Enclosing class:
Address

@Mutable @NotThreadSafe public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
  • Method Details

    • city

      Address.Builder city(String city)

      Specifies the end Customer's city associated with the Opportunity.

      Parameters:
      city - Specifies the end Customer's city associated with the Opportunity.
      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 the Opportunity.

      Parameters:
      countryCode - Specifies the end Customer's country associated with the Opportunity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • countryCode

      Address.Builder countryCode(CountryCode countryCode)

      Specifies the end Customer's country associated with the Opportunity.

      Parameters:
      countryCode - Specifies the end Customer's country associated with the Opportunity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • postalCode

      Address.Builder postalCode(String postalCode)

      Specifies the end Customer's postal code associated with the Opportunity.

      Parameters:
      postalCode - Specifies the end Customer's postal code associated with the Opportunity.
      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 the Opportunity.

      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 end Customer's state or region associated with the Opportunity .

      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 the Opportunity.

      Parameters:
      streetAddress - Specifies the end Customer's street address associated with the Opportunity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.