@Generated(value="software.amazon.awssdk:codegen") public class DescribeNetworkInterfaceAttributeResponse extends EC2Response implements ToCopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>
Contains the output of DescribeNetworkInterfaceAttribute.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeNetworkInterfaceAttributeResponse.Builder |
Modifier and Type | Method and Description |
---|---|
NetworkInterfaceAttachment |
attachment()
The attachment (if any) of the network interface.
|
static DescribeNetworkInterfaceAttributeResponse.Builder |
builder() |
String |
description()
The description of the network interface.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
List<GroupIdentifier> |
groups()
The security groups associated with the network interface.
|
int |
hashCode() |
String |
networkInterfaceId()
The ID of the network interface.
|
static Class<? extends DescribeNetworkInterfaceAttributeResponse.Builder> |
serializableBuilderClass() |
Boolean |
sourceDestCheck()
Indicates whether source/destination checking is enabled.
|
DescribeNetworkInterfaceAttributeResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public NetworkInterfaceAttachment attachment()
The attachment (if any) of the network interface.
public String description()
The description of the network interface.
public List<GroupIdentifier> groups()
The security groups associated with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String networkInterfaceId()
The ID of the network interface.
public Boolean sourceDestCheck()
Indicates whether source/destination checking is enabled.
public DescribeNetworkInterfaceAttributeResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>
toBuilder
in class AwsResponse
public static DescribeNetworkInterfaceAttributeResponse.Builder builder()
public static Class<? extends DescribeNetworkInterfaceAttributeResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.