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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePortalRequest.Builderalarms(Consumer<Alarms.Builder> alarms)Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.CreatePortalRequest.Builderalarms(Alarms alarms)Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.CreatePortalRequest.BuilderclientToken(String clientToken)A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.CreatePortalRequest.BuildernotificationSenderEmail(String notificationSenderEmail)The email address that sends alarm notifications.CreatePortalRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePortalRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePortalRequest.BuilderportalAuthMode(String portalAuthMode)The service to use to authenticate users to the portal.CreatePortalRequest.BuilderportalAuthMode(AuthMode portalAuthMode)The service to use to authenticate users to the portal.CreatePortalRequest.BuilderportalContactEmail(String portalContactEmail)The Amazon Web Services administrator's contact email address.CreatePortalRequest.BuilderportalDescription(String portalDescription)A description for the portal.default CreatePortalRequest.BuilderportalLogoImageFile(Consumer<ImageFile.Builder> portalLogoImageFile)A logo image to display in the portal.CreatePortalRequest.BuilderportalLogoImageFile(ImageFile portalLogoImageFile)A logo image to display in the portal.CreatePortalRequest.BuilderportalName(String portalName)A friendly name for the portal.CreatePortalRequest.BuilderroleArn(String roleArn)The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf.CreatePortalRequest.Buildertags(Map<String,String> tags)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 Detail
-
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 theImageFile.Builderavoiding the need to create one manually viaImageFile.builder().When the
Consumercompletes,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:
portalLogoImageFile(ImageFile)
-
roleArn
CreatePortalRequest.Builder roleArn(String 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
CreatePortalRequest.Builder tags(Map<String,String> 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:
AuthMode,AuthMode
-
-
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:
AuthMode,AuthMode
-
-
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
CreatePortalRequest.Builder alarms(Alarms 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
default CreatePortalRequest.Builder alarms(Consumer<Alarms.Builder> 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.Builderavoiding the need to create one manually viaAlarms.builder().When the
Consumercompletes,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:
alarms(Alarms)
-
overrideConfiguration
CreatePortalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePortalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-