@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingLaunchConfigurationMetadataOptions extends Object implements Serializable, Cloneable, StructuredPojo
The metadata options for the instances.
Constructor and Description |
---|
AwsAutoScalingLaunchConfigurationMetadataOptions() |
Modifier and Type | Method and Description |
---|---|
AwsAutoScalingLaunchConfigurationMetadataOptions |
clone() |
boolean |
equals(Object obj) |
String |
getHttpEndpoint()
Enables or disables the HTTP metadata endpoint on your instances.
|
Integer |
getHttpPutResponseHopLimit()
The HTTP
PUT response hop limit for instance metadata requests. |
String |
getHttpTokens()
Indicates whether token usage is
required or optional for metadata requests. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHttpEndpoint(String httpEndpoint)
Enables or disables the HTTP metadata endpoint on your instances.
|
void |
setHttpPutResponseHopLimit(Integer httpPutResponseHopLimit)
The HTTP
PUT response hop limit for instance metadata requests. |
void |
setHttpTokens(String httpTokens)
Indicates whether token usage is
required or optional for metadata requests. |
String |
toString()
Returns a string representation of this object.
|
AwsAutoScalingLaunchConfigurationMetadataOptions |
withHttpEndpoint(String httpEndpoint)
Enables or disables the HTTP metadata endpoint on your instances.
|
AwsAutoScalingLaunchConfigurationMetadataOptions |
withHttpPutResponseHopLimit(Integer httpPutResponseHopLimit)
The HTTP
PUT response hop limit for instance metadata requests. |
AwsAutoScalingLaunchConfigurationMetadataOptions |
withHttpTokens(String httpTokens)
Indicates whether token usage is
required or optional for metadata requests. |
public AwsAutoScalingLaunchConfigurationMetadataOptions()
public void setHttpEndpoint(String httpEndpoint)
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
httpEndpoint
- Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is
enabled.public String getHttpEndpoint()
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
public AwsAutoScalingLaunchConfigurationMetadataOptions withHttpEndpoint(String httpEndpoint)
Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is enabled.
httpEndpoint
- Enables or disables the HTTP metadata endpoint on your instances. By default, the metadata endpoint is
enabled.public void setHttpPutResponseHopLimit(Integer httpPutResponseHopLimit)
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further
instance metadata requests can travel.
httpPutResponseHopLimit
- The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the
further instance metadata requests can travel.public Integer getHttpPutResponseHopLimit()
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further
instance metadata requests can travel.
PUT
response hop limit for instance metadata requests. The larger the number, the
further instance metadata requests can travel.public AwsAutoScalingLaunchConfigurationMetadataOptions withHttpPutResponseHopLimit(Integer httpPutResponseHopLimit)
The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the further
instance metadata requests can travel.
httpPutResponseHopLimit
- The HTTP PUT
response hop limit for instance metadata requests. The larger the number, the
further instance metadata requests can travel.public void setHttpTokens(String httpTokens)
Indicates whether token usage is required
or optional
for metadata requests. By
default, token usage is optional
.
httpTokens
- Indicates whether token usage is required
or optional
for metadata requests. By
default, token usage is optional
.public String getHttpTokens()
Indicates whether token usage is required
or optional
for metadata requests. By
default, token usage is optional
.
required
or optional
for metadata requests. By
default, token usage is optional
.public AwsAutoScalingLaunchConfigurationMetadataOptions withHttpTokens(String httpTokens)
Indicates whether token usage is required
or optional
for metadata requests. By
default, token usage is optional
.
httpTokens
- Indicates whether token usage is required
or optional
for metadata requests. By
default, token usage is optional
.public String toString()
toString
in class Object
Object.toString()
public AwsAutoScalingLaunchConfigurationMetadataOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.