Interface PortalSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PortalSummary.Builder,PortalSummary>,SdkBuilder<PortalSummary.Builder,PortalSummary>,SdkPojo
- Enclosing class:
- PortalSummary
public static interface PortalSummary.Builder extends SdkPojo, CopyableBuilder<PortalSummary.Builder,PortalSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PortalSummary.BuildercreationDate(Instant creationDate)The date the portal was created, in Unix epoch time.PortalSummary.Builderdescription(String description)The portal's description.PortalSummary.Builderid(String id)The ID of the portal.PortalSummary.BuilderlastUpdateDate(Instant lastUpdateDate)The date the portal was last updated, in Unix epoch time.PortalSummary.Buildername(String name)The name of the portal.PortalSummary.BuilderroleArn(String roleArn)The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf.PortalSummary.BuilderstartUrl(String startUrl)The URL for the IoT SiteWise Monitor portal.default PortalSummary.Builderstatus(Consumer<PortalStatus.Builder> status)Sets the value of the Status property for this object.PortalSummary.Builderstatus(PortalStatus status)Sets the value of the Status property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
id
PortalSummary.Builder id(String id)
The ID of the portal.
- Parameters:
id- The ID of the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
PortalSummary.Builder name(String name)
The name of the portal.
- Parameters:
name- The name of the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PortalSummary.Builder description(String description)
The portal's description.
- Parameters:
description- The portal's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startUrl
PortalSummary.Builder startUrl(String startUrl)
The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
- Parameters:
startUrl- The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
PortalSummary.Builder creationDate(Instant creationDate)
The date the portal was created, in Unix epoch time.
- Parameters:
creationDate- The date the portal was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
PortalSummary.Builder lastUpdateDate(Instant lastUpdateDate)
The date the portal was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate- The date the portal was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
PortalSummary.Builder roleArn(String roleArn)
The ARN of the 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 the 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.
-
status
PortalSummary.Builder status(PortalStatus status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default PortalSummary.Builder status(Consumer<PortalStatus.Builder> status)
Sets the value of the Status property for this object. This is a convenience method that creates an instance of thePortalStatus.Builderavoiding the need to create one manually viaPortalStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(PortalStatus).- Parameters:
status- a consumer that will call methods onPortalStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(PortalStatus)
-
-