primaryVpcId
The VPC ID in which the security group was created.
- Returns:
- The VPC ID in which the security group was created.
Serializable
, SdkPojo
, ToCopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
A security group that can be used by interfaces in the VPC.
static SecurityGroupForVpc.Builder
builder()
final String
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final String
groupId()
final String
final int
hashCode()
final boolean
hasTags()
final String
ownerId()
final String
static Class<? extends SecurityGroupForVpc.Builder>
tags()
final String
toString()
copy
The security group's description.
The security group name.
The security group owner ID.
The security group ID.
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.The security group tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags()
method.
The VPC ID in which the security group was created.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SecurityGroupForVpc.Builder,SecurityGroupForVpc>
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 with