Interface ReportInstanceStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ReportInstanceStatusRequest.Builder,ReportInstanceStatusRequest>
,Ec2Request.Builder
,SdkBuilder<ReportInstanceStatusRequest.Builder,ReportInstanceStatusRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ReportInstanceStatusRequest
public static interface ReportInstanceStatusRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ReportInstanceStatusRequest.Builder,ReportInstanceStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReportInstanceStatusRequest.Builder
description(String description)
Descriptive text about the health state of your instance.ReportInstanceStatusRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ReportInstanceStatusRequest.Builder
endTime(Instant endTime)
The time at which the reported instance health state ended.ReportInstanceStatusRequest.Builder
instances(String... instances)
The instances.ReportInstanceStatusRequest.Builder
instances(Collection<String> instances)
The instances.ReportInstanceStatusRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ReportInstanceStatusRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ReportInstanceStatusRequest.Builder
reasonCodes(Collection<ReportInstanceReasonCodes> reasonCodes)
The reason codes that describe the health state of your instance.ReportInstanceStatusRequest.Builder
reasonCodes(ReportInstanceReasonCodes... reasonCodes)
The reason codes that describe the health state of your instance.ReportInstanceStatusRequest.Builder
reasonCodesWithStrings(String... reasonCodes)
The reason codes that describe the health state of your instance.ReportInstanceStatusRequest.Builder
reasonCodesWithStrings(Collection<String> reasonCodes)
The reason codes that describe the health state of your instance.ReportInstanceStatusRequest.Builder
startTime(Instant startTime)
The time at which the reported instance health state began.ReportInstanceStatusRequest.Builder
status(String status)
The status of all instances listed.ReportInstanceStatusRequest.Builder
status(ReportStatusType status)
The status of all instances listed.-
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.ec2.model.Ec2Request.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
-
description
ReportInstanceStatusRequest.Builder description(String description)
Descriptive text about the health state of your instance.
- Parameters:
description
- Descriptive text about the health state of your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
ReportInstanceStatusRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ReportInstanceStatusRequest.Builder endTime(Instant endTime)
The time at which the reported instance health state ended.
- Parameters:
endTime
- The time at which the reported instance health state ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
ReportInstanceStatusRequest.Builder instances(Collection<String> instances)
The instances.
- Parameters:
instances
- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
ReportInstanceStatusRequest.Builder instances(String... instances)
The instances.
- Parameters:
instances
- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasonCodesWithStrings
ReportInstanceStatusRequest.Builder reasonCodesWithStrings(Collection<String> reasonCodes)
The reason codes that describe the health state of your instance.
-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
- Parameters:
reasonCodes
- The reason codes that describe the health state of your instance.-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasonCodesWithStrings
ReportInstanceStatusRequest.Builder reasonCodesWithStrings(String... reasonCodes)
The reason codes that describe the health state of your instance.
-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
- Parameters:
reasonCodes
- The reason codes that describe the health state of your instance.-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasonCodes
ReportInstanceStatusRequest.Builder reasonCodes(Collection<ReportInstanceReasonCodes> reasonCodes)
The reason codes that describe the health state of your instance.
-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
- Parameters:
reasonCodes
- The reason codes that describe the health state of your instance.-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasonCodes
ReportInstanceStatusRequest.Builder reasonCodes(ReportInstanceReasonCodes... reasonCodes)
The reason codes that describe the health state of your instance.
-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
- Parameters:
reasonCodes
- The reason codes that describe the health state of your instance.-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other
: [explain using the description parameter]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
startTime
ReportInstanceStatusRequest.Builder startTime(Instant startTime)
The time at which the reported instance health state began.
- Parameters:
startTime
- The time at which the reported instance health state began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ReportInstanceStatusRequest.Builder status(String status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportStatusType
,ReportStatusType
-
status
ReportInstanceStatusRequest.Builder status(ReportStatusType status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportStatusType
,ReportStatusType
-
overrideConfiguration
ReportInstanceStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ReportInstanceStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-