Interface CreatePortalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePortalRequest.Builder,
,CreatePortalRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<CreatePortalRequest.Builder,
,CreatePortalRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePortalRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreatePortalRequest.Builder
alarms
(Consumer<Alarms.Builder> alarms) Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.notificationSenderEmail
(String notificationSenderEmail) The email address that sends alarm notifications.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portalAuthMode
(String portalAuthMode) The service to use to authenticate users to the portal.portalAuthMode
(AuthMode portalAuthMode) The service to use to authenticate users to the portal.portalContactEmail
(String portalContactEmail) The Amazon Web Services administrator's contact email address.portalDescription
(String portalDescription) A description for the portal.default CreatePortalRequest.Builder
portalLogoImageFile
(Consumer<ImageFile.Builder> portalLogoImageFile) A logo image to display in the portal.portalLogoImageFile
(ImageFile portalLogoImageFile) A logo image to display in the portal.portalName
(String portalName) A friendly name for the portal.The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf.A list of key-value pairs that contain metadata for the portal.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 theImageFile.Builder
avoiding the need to create one manually viaImageFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportalLogoImageFile(ImageFile)
.- Parameters:
portalLogoImageFile
- a consumer that will call methods onImageFile.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
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
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
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 theAlarms.Builder
avoiding the need to create one manually viaAlarms.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarms(Alarms)
.- Parameters:
alarms
- a consumer that will call methods onAlarms.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePortalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-