Interface GetSerialConsoleAccessStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSerialConsoleAccessStatusResponse.Builder,,GetSerialConsoleAccessStatusResponse> Ec2Response.Builder,SdkBuilder<GetSerialConsoleAccessStatusResponse.Builder,,GetSerialConsoleAccessStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSerialConsoleAccessStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe entity that manages access to the serial console.The entity that manages access to the serial console.serialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled) Iftrue, access to the EC2 serial console of all instances is enabled for your account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
serialConsoleAccessEnabled
GetSerialConsoleAccessStatusResponse.Builder serialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled) If
true, access to the EC2 serial console of all instances is enabled for your account. Iffalse, access to the EC2 serial console of all instances is disabled for your account.- Parameters:
serialConsoleAccessEnabled- Iftrue, access to the EC2 serial console of all instances is enabled for your account. Iffalse, access to the EC2 serial console of all instances is disabled for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedBy
The entity that manages access to the serial console. Possible values include:
-
account- Access is managed by the account. -
declarative-policy- Access is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy- The entity that manages access to the serial console. Possible values include:-
account- Access is managed by the account. -
declarative-policy- Access is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
managedBy
The entity that manages access to the serial console. Possible values include:
-
account- Access is managed by the account. -
declarative-policy- Access is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy- The entity that manages access to the serial console. Possible values include:-
account- Access is managed by the account. -
declarative-policy- Access is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-