@Generated(value="software.amazon.awssdk:codegen") public final class NetworkProfile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkProfile.Builder,NetworkProfile>
The network profile associated with a device.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkProfile.Builder |
Modifier and Type | Method and Description |
---|---|
static NetworkProfile.Builder |
builder() |
String |
certificateAuthorityArn()
The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM).
|
String |
currentPassword()
The current password of the Wi-Fi network.
|
String |
description()
Detailed information about a device's network profile.
|
NetworkEapMethod |
eapMethod()
The authentication standard that is used in the EAP framework.
|
String |
eapMethodAsString()
The authentication standard that is used in the EAP framework.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTrustAnchors()
Returns true if the TrustAnchors property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
networkProfileArn()
The ARN of the network profile associated with a device.
|
String |
networkProfileName()
The name of the network profile associated with a device.
|
String |
nextPassword()
The next, or subsequent, password of the Wi-Fi network.
|
List<SdkField<?>> |
sdkFields() |
NetworkSecurityType |
securityType()
The security type of the Wi-Fi network.
|
String |
securityTypeAsString()
The security type of the Wi-Fi network.
|
static Class<? extends NetworkProfile.Builder> |
serializableBuilderClass() |
String |
ssid()
The SSID of the Wi-Fi network.
|
NetworkProfile.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
List<String> |
trustAnchors()
The root certificates of your authentication server, which is installed on your devices and used to trust your
authentication server during EAP negotiation.
|
copy
public final String networkProfileArn()
The ARN of the network profile associated with a device.
public final String networkProfileName()
The name of the network profile associated with a device.
public final String description()
Detailed information about a device's network profile.
public final String ssid()
The SSID of the Wi-Fi network.
public final NetworkSecurityType securityType()
The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.
If the service returns an enum value that is not available in the current SDK version, securityType
will
return NetworkSecurityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from securityTypeAsString()
.
NetworkSecurityType
public final String securityTypeAsString()
The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.
If the service returns an enum value that is not available in the current SDK version, securityType
will
return NetworkSecurityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from securityTypeAsString()
.
NetworkSecurityType
public final NetworkEapMethod eapMethod()
The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.
If the service returns an enum value that is not available in the current SDK version, eapMethod
will
return NetworkEapMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
eapMethodAsString()
.
NetworkEapMethod
public final String eapMethodAsString()
The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.
If the service returns an enum value that is not available in the current SDK version, eapMethod
will
return NetworkEapMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
eapMethodAsString()
.
NetworkEapMethod
public final String currentPassword()
The current password of the Wi-Fi network.
public final String nextPassword()
The next, or subsequent, password of the Wi-Fi network. This password is asynchronously transmitted to the device and is used when the password of the network changes to NextPassword.
public final String certificateAuthorityArn()
The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.
public final boolean hasTrustAnchors()
public final List<String> trustAnchors()
The root certificates of your authentication server, which is installed on your devices and used to trust your authentication server during EAP negotiation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTrustAnchors()
to see if a value was sent in this field.
public NetworkProfile.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkProfile.Builder,NetworkProfile>
public static NetworkProfile.Builder builder()
public static Class<? extends NetworkProfile.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()