Interface CreatePortalRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreatePortalRequest.Builder,CreatePortalRequest>, IoTSiteWiseRequest.Builder, SdkBuilder<CreatePortalRequest.Builder,CreatePortalRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreatePortalRequest

public static interface CreatePortalRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<CreatePortalRequest.Builder,CreatePortalRequest>
  • Method Details

    • portalName

      CreatePortalRequest.Builder portalName(String portalName)

      A friendly name for the portal.

      Parameters:
      portalName - A friendly name for the portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalDescription

      CreatePortalRequest.Builder portalDescription(String portalDescription)

      A description for the portal.

      Parameters:
      portalDescription - A description for the portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalContactEmail

      CreatePortalRequest.Builder portalContactEmail(String portalContactEmail)

      The Amazon Web Services administrator's contact email address.

      Parameters:
      portalContactEmail - The Amazon Web Services administrator's contact email address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreatePortalRequest.Builder clientToken(String clientToken)

      A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

      Parameters:
      clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalLogoImageFile

      CreatePortalRequest.Builder portalLogoImageFile(ImageFile portalLogoImageFile)

      A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.

      Parameters:
      portalLogoImageFile - A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalLogoImageFile

      default CreatePortalRequest.Builder portalLogoImageFile(Consumer<ImageFile.Builder> portalLogoImageFile)

      A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to portalLogoImageFile(ImageFile).

      Parameters:
      portalLogoImageFile - a consumer that will call methods on ImageFile.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

      Parameters:
      roleArn - The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

      Parameters:
      tags - A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalAuthMode

      CreatePortalRequest.Builder portalAuthMode(String portalAuthMode)

      The service to use to authenticate users to the portal. Choose from the following options:

      • SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions.

      • IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions.

      You can't change this value after you create a portal.

      Default: SSO

      Parameters:
      portalAuthMode - The service to use to authenticate users to the portal. Choose from the following options:

      • SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions.

      • IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions.

      You can't change this value after you create a portal.

      Default: SSO

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • portalAuthMode

      CreatePortalRequest.Builder portalAuthMode(AuthMode portalAuthMode)

      The service to use to authenticate users to the portal. Choose from the following options:

      • SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions.

      • IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions.

      You can't change this value after you create a portal.

      Default: SSO

      Parameters:
      portalAuthMode - The service to use to authenticate users to the portal. Choose from the following options:

      • SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions.

      • IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions.

      You can't change this value after you create a portal.

      Default: SSO

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • notificationSenderEmail

      CreatePortalRequest.Builder notificationSenderEmail(String notificationSenderEmail)

      The email address that sends alarm notifications.

      If you use the IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.

      Parameters:
      notificationSenderEmail - The email address that sends alarm notifications.

      If you use the IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.

      Parameters:
      alarms - Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alarms(Alarms).

      Parameters:
      alarms - a consumer that will call methods on Alarms.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreatePortalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.