Interface DescribeEmergencyContactSettingsResponse.Builder

    • Method Detail

      • emergencyContactList

        DescribeEmergencyContactSettingsResponse.Builder emergencyContactList​(Collection<EmergencyContact> emergencyContactList)

        A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.

        Parameters:
        emergencyContactList - A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emergencyContactList

        DescribeEmergencyContactSettingsResponse.Builder emergencyContactList​(EmergencyContact... emergencyContactList)

        A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.

        Parameters:
        emergencyContactList - A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emergencyContactList

        DescribeEmergencyContactSettingsResponse.Builder emergencyContactList​(Consumer<EmergencyContact.Builder>... emergencyContactList)

        A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.

        This is a convenience method that creates an instance of the EmergencyContact.Builder avoiding the need to create one manually via EmergencyContact.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #emergencyContactList(List).

        Parameters:
        emergencyContactList - a consumer that will call methods on EmergencyContact.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #emergencyContactList(java.util.Collection)