Interface DescribeWorkspaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspaceResponse.Builder,,DescribeWorkspaceResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeWorkspaceResponse.Builder,,DescribeWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeWorkspaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date the workspace was created, in Unix epoch time.encryptionConfiguration(Consumer<WorkspaceEncryptionConfigurationInfo.Builder> encryptionConfiguration) The encryption configuration information for the workspace.encryptionConfiguration(WorkspaceEncryptionConfigurationInfo encryptionConfiguration) The encryption configuration information for the workspace.The date the workspace was last updated, in Unix epoch time.workspaceArn(String workspaceArn) The ARN of the workspace.workspaceDescription(String workspaceDescription) The description of the workspace.workspaceName(String workspaceName) The name of the workspace.workspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace, which contains the state and any error message.workspaceStatus(WorkspaceStatus workspaceStatus) The status of the workspace, which contains the state and any error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspaceArn
The ARN of the workspace.
- Parameters:
workspaceArn- The ARN of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceName
The name of the workspace.
- Parameters:
workspaceName- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceDescription
The description of the workspace.
- Parameters:
workspaceDescription- The description of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceStatus
The status of the workspace, which contains the state and any error message.
- Parameters:
workspaceStatus- The status of the workspace, which contains the state and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceStatus
default DescribeWorkspaceResponse.Builder workspaceStatus(Consumer<WorkspaceStatus.Builder> workspaceStatus) The status of the workspace, which contains the state and any error message.
This is a convenience method that creates an instance of theWorkspaceStatus.Builderavoiding the need to create one manually viaWorkspaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceStatus(WorkspaceStatus).- Parameters:
workspaceStatus- a consumer that will call methods onWorkspaceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
DescribeWorkspaceResponse.Builder encryptionConfiguration(WorkspaceEncryptionConfigurationInfo encryptionConfiguration) The encryption configuration information for the workspace.
- Parameters:
encryptionConfiguration- The encryption configuration information for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default DescribeWorkspaceResponse.Builder encryptionConfiguration(Consumer<WorkspaceEncryptionConfigurationInfo.Builder> encryptionConfiguration) The encryption configuration information for the workspace.
This is a convenience method that creates an instance of theWorkspaceEncryptionConfigurationInfo.Builderavoiding the need to create one manually viaWorkspaceEncryptionConfigurationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(WorkspaceEncryptionConfigurationInfo).- Parameters:
encryptionConfiguration- a consumer that will call methods onWorkspaceEncryptionConfigurationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date the workspace was created, in Unix epoch time.
- Parameters:
createdAt- The date the workspace was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date the workspace was last updated, in Unix epoch time.
- Parameters:
updatedAt- The date the workspace was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-