Interface UpdatePortalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePortalRequest.Builder,,UpdatePortalRequest> IoTSiteWiseRequest.Builder,SdkBuilder<UpdatePortalRequest.Builder,,UpdatePortalRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePortalRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePortalRequest.Builderalarms(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.portalContactEmail(String portalContactEmail) The Amazon Web Services administrator's contact email address.portalDescription(String portalDescription) A new description for the portal.The ID of the portal to update.default UpdatePortalRequest.BuilderportalLogoImage(Consumer<Image.Builder> portalLogoImage) Sets the value of the PortalLogoImage property for this object.portalLogoImage(Image portalLogoImage) Sets the value of the PortalLogoImage property for this object.portalName(String portalName) A new 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
portalId
The ID of the portal to update.
- Parameters:
portalId- The ID of the portal to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalName
A new friendly name for the portal.
- Parameters:
portalName- A new friendly name for the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalDescription
A new description for the portal.
- Parameters:
portalDescription- A new 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.
-
portalLogoImage
Sets the value of the PortalLogoImage property for this object.- Parameters:
portalLogoImage- The new value for the PortalLogoImage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalLogoImage
Sets the value of the PortalLogoImage property for this object. This is a convenience method that creates an instance of theImage.Builderavoiding the need to create one manually viaImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportalLogoImage(Image).- Parameters:
portalLogoImage- a consumer that will call methods onImage.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.
-
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.
-
notificationSenderEmail
The email address that sends alarm notifications.
- Parameters:
notificationSenderEmail- The email address that sends alarm notifications.- 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.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:
-
overrideConfiguration
UpdatePortalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePortalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-